Class BuildEventStreamProtos.BuildMetrics
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics
-
- All Implemented Interfaces:
BuildEventStreamProtos.BuildMetricsOrBuilder,Message,MessageLite,MessageLiteOrBuilder,MessageOrBuilder,java.io.Serializable
- Enclosing class:
- BuildEventStreamProtos
public static final class BuildEventStreamProtos.BuildMetrics extends GeneratedMessageV3 implements BuildEventStreamProtos.BuildMetricsOrBuilder
Protobuf typebuild_event_stream.BuildMetrics- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum
-
-
Field Summary
Fields Modifier and Type Field Description static intACTION_SUMMARY_FIELD_NUMBERstatic intARTIFACT_METRICS_FIELD_NUMBERstatic intBUILD_GRAPH_METRICS_FIELD_NUMBERstatic intCUMULATIVE_METRICS_FIELD_NUMBERstatic intMEMORY_METRICS_FIELD_NUMBERstatic intPACKAGE_METRICS_FIELD_NUMBERstatic intTARGET_METRICS_FIELD_NUMBERstatic intTIMING_METRICS_FIELD_NUMBERstatic intWORKER_METRICS_FIELD_NUMBER-
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
-
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
-
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Compares the specified object with this message for equality.BuildEventStreamProtos.BuildMetrics.ActionSummarygetActionSummary().build_event_stream.BuildMetrics.ActionSummary action_summary = 1;BuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuildergetActionSummaryOrBuilder().build_event_stream.BuildMetrics.ActionSummary action_summary = 1;BuildEventStreamProtos.BuildMetrics.ArtifactMetricsgetArtifactMetrics().build_event_stream.BuildMetrics.ArtifactMetrics artifact_metrics = 7;BuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuildergetArtifactMetricsOrBuilder().build_event_stream.BuildMetrics.ArtifactMetrics artifact_metrics = 7;BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsgetBuildGraphMetrics().build_event_stream.BuildMetrics.BuildGraphMetrics build_graph_metrics = 8;BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuildergetBuildGraphMetricsOrBuilder().build_event_stream.BuildMetrics.BuildGraphMetrics build_graph_metrics = 8;BuildEventStreamProtos.BuildMetrics.CumulativeMetricsgetCumulativeMetrics().build_event_stream.BuildMetrics.CumulativeMetrics cumulative_metrics = 6;BuildEventStreamProtos.BuildMetrics.CumulativeMetricsOrBuildergetCumulativeMetricsOrBuilder().build_event_stream.BuildMetrics.CumulativeMetrics cumulative_metrics = 6;static BuildEventStreamProtos.BuildMetricsgetDefaultInstance()BuildEventStreamProtos.BuildMetricsgetDefaultInstanceForType()Get an instance of the type with no fields set.static Descriptors.DescriptorgetDescriptor()BuildEventStreamProtos.BuildMetrics.MemoryMetricsgetMemoryMetrics().build_event_stream.BuildMetrics.MemoryMetrics memory_metrics = 2;BuildEventStreamProtos.BuildMetrics.MemoryMetricsOrBuildergetMemoryMetricsOrBuilder().build_event_stream.BuildMetrics.MemoryMetrics memory_metrics = 2;BuildEventStreamProtos.BuildMetrics.PackageMetricsgetPackageMetrics().build_event_stream.BuildMetrics.PackageMetrics package_metrics = 4;BuildEventStreamProtos.BuildMetrics.PackageMetricsOrBuildergetPackageMetricsOrBuilder().build_event_stream.BuildMetrics.PackageMetrics package_metrics = 4;Parser<BuildEventStreamProtos.BuildMetrics>getParserForType()Gets the parser for a message of the same type as this message.intgetSerializedSize()Get the number of bytes required to encode this message.BuildEventStreamProtos.BuildMetrics.TargetMetricsgetTargetMetrics().build_event_stream.BuildMetrics.TargetMetrics target_metrics = 3;BuildEventStreamProtos.BuildMetrics.TargetMetricsOrBuildergetTargetMetricsOrBuilder().build_event_stream.BuildMetrics.TargetMetrics target_metrics = 3;BuildEventStreamProtos.BuildMetrics.TimingMetricsgetTimingMetrics().build_event_stream.BuildMetrics.TimingMetrics timing_metrics = 5;BuildEventStreamProtos.BuildMetrics.TimingMetricsOrBuildergetTimingMetricsOrBuilder().build_event_stream.BuildMetrics.TimingMetrics timing_metrics = 5;UnknownFieldSetgetUnknownFields()Get theUnknownFieldSetfor this message.BuildEventStreamProtos.BuildMetrics.WorkerMetricsgetWorkerMetrics(int index)repeated .build_event_stream.BuildMetrics.WorkerMetrics worker_metrics = 9;intgetWorkerMetricsCount()repeated .build_event_stream.BuildMetrics.WorkerMetrics worker_metrics = 9;java.util.List<BuildEventStreamProtos.BuildMetrics.WorkerMetrics>getWorkerMetricsList()repeated .build_event_stream.BuildMetrics.WorkerMetrics worker_metrics = 9;BuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuildergetWorkerMetricsOrBuilder(int index)repeated .build_event_stream.BuildMetrics.WorkerMetrics worker_metrics = 9;java.util.List<? extends BuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder>getWorkerMetricsOrBuilderList()repeated .build_event_stream.BuildMetrics.WorkerMetrics worker_metrics = 9;booleanhasActionSummary().build_event_stream.BuildMetrics.ActionSummary action_summary = 1;booleanhasArtifactMetrics().build_event_stream.BuildMetrics.ArtifactMetrics artifact_metrics = 7;booleanhasBuildGraphMetrics().build_event_stream.BuildMetrics.BuildGraphMetrics build_graph_metrics = 8;booleanhasCumulativeMetrics().build_event_stream.BuildMetrics.CumulativeMetrics cumulative_metrics = 6;inthashCode()Returns the hash code value for this message.booleanhasMemoryMetrics().build_event_stream.BuildMetrics.MemoryMetrics memory_metrics = 2;booleanhasPackageMetrics().build_event_stream.BuildMetrics.PackageMetrics package_metrics = 4;booleanhasTargetMetrics().build_event_stream.BuildMetrics.TargetMetrics target_metrics = 3;booleanhasTimingMetrics().build_event_stream.BuildMetrics.TimingMetrics timing_metrics = 5;protected GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()Get the FieldAccessorTable for this type.booleanisInitialized()Returns true if all required fields in the message and all embedded messages are set, false otherwise.static BuildEventStreamProtos.BuildMetrics.BuildernewBuilder()static BuildEventStreamProtos.BuildMetrics.BuildernewBuilder(BuildEventStreamProtos.BuildMetrics prototype)BuildEventStreamProtos.BuildMetrics.BuildernewBuilderForType()Constructs a new builder for a message of the same type as this message.protected BuildEventStreamProtos.BuildMetrics.BuildernewBuilderForType(GeneratedMessageV3.BuilderParent parent)TODO(xiaofeng): remove this together with GeneratedMessageV3.BuilderParent.protected java.lang.ObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameter unused)Creates a new instance of this message type.static BuildEventStreamProtos.BuildMetricsparseDelimitedFrom(java.io.InputStream input)static BuildEventStreamProtos.BuildMetricsparseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetricsparseFrom(byte[] data)static BuildEventStreamProtos.BuildMetricsparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetricsparseFrom(ByteString data)static BuildEventStreamProtos.BuildMetricsparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetricsparseFrom(CodedInputStream input)static BuildEventStreamProtos.BuildMetricsparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetricsparseFrom(java.io.InputStream input)static BuildEventStreamProtos.BuildMetricsparseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry)static BuildEventStreamProtos.BuildMetricsparseFrom(java.nio.ByteBuffer data)static BuildEventStreamProtos.BuildMetricsparseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry)static Parser<BuildEventStreamProtos.BuildMetrics>parser()BuildEventStreamProtos.BuildMetrics.BuildertoBuilder()Constructs a builder initialized with the current message.voidwriteTo(CodedOutputStream output)Serializes the message and writes it tooutput.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
-
-
-
Field Detail
-
ACTION_SUMMARY_FIELD_NUMBER
public static final int ACTION_SUMMARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MEMORY_METRICS_FIELD_NUMBER
public static final int MEMORY_METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_METRICS_FIELD_NUMBER
public static final int TARGET_METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PACKAGE_METRICS_FIELD_NUMBER
public static final int PACKAGE_METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMING_METRICS_FIELD_NUMBER
public static final int TIMING_METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUMULATIVE_METRICS_FIELD_NUMBER
public static final int CUMULATIVE_METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARTIFACT_METRICS_FIELD_NUMBER
public static final int ARTIFACT_METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUILD_GRAPH_METRICS_FIELD_NUMBER
public static final int BUILD_GRAPH_METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKER_METRICS_FIELD_NUMBER
public static final int WORKER_METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Description copied from class:GeneratedMessageV3Creates a new instance of this message type. Overridden in the generated code.- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
public final UnknownFieldSet getUnknownFields()
Description copied from interface:MessageOrBuilderGet theUnknownFieldSetfor this message.- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessageV3Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
hasActionSummary
public boolean hasActionSummary()
.build_event_stream.BuildMetrics.ActionSummary action_summary = 1;- Specified by:
hasActionSummaryin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- Whether the actionSummary field is set.
-
getActionSummary
public BuildEventStreamProtos.BuildMetrics.ActionSummary getActionSummary()
.build_event_stream.BuildMetrics.ActionSummary action_summary = 1;- Specified by:
getActionSummaryin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- The actionSummary.
-
getActionSummaryOrBuilder
public BuildEventStreamProtos.BuildMetrics.ActionSummaryOrBuilder getActionSummaryOrBuilder()
.build_event_stream.BuildMetrics.ActionSummary action_summary = 1;- Specified by:
getActionSummaryOrBuilderin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
hasMemoryMetrics
public boolean hasMemoryMetrics()
.build_event_stream.BuildMetrics.MemoryMetrics memory_metrics = 2;- Specified by:
hasMemoryMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- Whether the memoryMetrics field is set.
-
getMemoryMetrics
public BuildEventStreamProtos.BuildMetrics.MemoryMetrics getMemoryMetrics()
.build_event_stream.BuildMetrics.MemoryMetrics memory_metrics = 2;- Specified by:
getMemoryMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- The memoryMetrics.
-
getMemoryMetricsOrBuilder
public BuildEventStreamProtos.BuildMetrics.MemoryMetricsOrBuilder getMemoryMetricsOrBuilder()
.build_event_stream.BuildMetrics.MemoryMetrics memory_metrics = 2;- Specified by:
getMemoryMetricsOrBuilderin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
hasTargetMetrics
public boolean hasTargetMetrics()
.build_event_stream.BuildMetrics.TargetMetrics target_metrics = 3;- Specified by:
hasTargetMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- Whether the targetMetrics field is set.
-
getTargetMetrics
public BuildEventStreamProtos.BuildMetrics.TargetMetrics getTargetMetrics()
.build_event_stream.BuildMetrics.TargetMetrics target_metrics = 3;- Specified by:
getTargetMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- The targetMetrics.
-
getTargetMetricsOrBuilder
public BuildEventStreamProtos.BuildMetrics.TargetMetricsOrBuilder getTargetMetricsOrBuilder()
.build_event_stream.BuildMetrics.TargetMetrics target_metrics = 3;- Specified by:
getTargetMetricsOrBuilderin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
hasPackageMetrics
public boolean hasPackageMetrics()
.build_event_stream.BuildMetrics.PackageMetrics package_metrics = 4;- Specified by:
hasPackageMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- Whether the packageMetrics field is set.
-
getPackageMetrics
public BuildEventStreamProtos.BuildMetrics.PackageMetrics getPackageMetrics()
.build_event_stream.BuildMetrics.PackageMetrics package_metrics = 4;- Specified by:
getPackageMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- The packageMetrics.
-
getPackageMetricsOrBuilder
public BuildEventStreamProtos.BuildMetrics.PackageMetricsOrBuilder getPackageMetricsOrBuilder()
.build_event_stream.BuildMetrics.PackageMetrics package_metrics = 4;- Specified by:
getPackageMetricsOrBuilderin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
hasTimingMetrics
public boolean hasTimingMetrics()
.build_event_stream.BuildMetrics.TimingMetrics timing_metrics = 5;- Specified by:
hasTimingMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- Whether the timingMetrics field is set.
-
getTimingMetrics
public BuildEventStreamProtos.BuildMetrics.TimingMetrics getTimingMetrics()
.build_event_stream.BuildMetrics.TimingMetrics timing_metrics = 5;- Specified by:
getTimingMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- The timingMetrics.
-
getTimingMetricsOrBuilder
public BuildEventStreamProtos.BuildMetrics.TimingMetricsOrBuilder getTimingMetricsOrBuilder()
.build_event_stream.BuildMetrics.TimingMetrics timing_metrics = 5;- Specified by:
getTimingMetricsOrBuilderin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
hasCumulativeMetrics
public boolean hasCumulativeMetrics()
.build_event_stream.BuildMetrics.CumulativeMetrics cumulative_metrics = 6;- Specified by:
hasCumulativeMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- Whether the cumulativeMetrics field is set.
-
getCumulativeMetrics
public BuildEventStreamProtos.BuildMetrics.CumulativeMetrics getCumulativeMetrics()
.build_event_stream.BuildMetrics.CumulativeMetrics cumulative_metrics = 6;- Specified by:
getCumulativeMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- The cumulativeMetrics.
-
getCumulativeMetricsOrBuilder
public BuildEventStreamProtos.BuildMetrics.CumulativeMetricsOrBuilder getCumulativeMetricsOrBuilder()
.build_event_stream.BuildMetrics.CumulativeMetrics cumulative_metrics = 6;- Specified by:
getCumulativeMetricsOrBuilderin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
hasArtifactMetrics
public boolean hasArtifactMetrics()
.build_event_stream.BuildMetrics.ArtifactMetrics artifact_metrics = 7;- Specified by:
hasArtifactMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- Whether the artifactMetrics field is set.
-
getArtifactMetrics
public BuildEventStreamProtos.BuildMetrics.ArtifactMetrics getArtifactMetrics()
.build_event_stream.BuildMetrics.ArtifactMetrics artifact_metrics = 7;- Specified by:
getArtifactMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- The artifactMetrics.
-
getArtifactMetricsOrBuilder
public BuildEventStreamProtos.BuildMetrics.ArtifactMetricsOrBuilder getArtifactMetricsOrBuilder()
.build_event_stream.BuildMetrics.ArtifactMetrics artifact_metrics = 7;- Specified by:
getArtifactMetricsOrBuilderin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
hasBuildGraphMetrics
public boolean hasBuildGraphMetrics()
.build_event_stream.BuildMetrics.BuildGraphMetrics build_graph_metrics = 8;- Specified by:
hasBuildGraphMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- Whether the buildGraphMetrics field is set.
-
getBuildGraphMetrics
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetrics getBuildGraphMetrics()
.build_event_stream.BuildMetrics.BuildGraphMetrics build_graph_metrics = 8;- Specified by:
getBuildGraphMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder- Returns:
- The buildGraphMetrics.
-
getBuildGraphMetricsOrBuilder
public BuildEventStreamProtos.BuildMetrics.BuildGraphMetricsOrBuilder getBuildGraphMetricsOrBuilder()
.build_event_stream.BuildMetrics.BuildGraphMetrics build_graph_metrics = 8;- Specified by:
getBuildGraphMetricsOrBuilderin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
getWorkerMetricsList
public java.util.List<BuildEventStreamProtos.BuildMetrics.WorkerMetrics> getWorkerMetricsList()
repeated .build_event_stream.BuildMetrics.WorkerMetrics worker_metrics = 9;- Specified by:
getWorkerMetricsListin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
getWorkerMetricsOrBuilderList
public java.util.List<? extends BuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder> getWorkerMetricsOrBuilderList()
repeated .build_event_stream.BuildMetrics.WorkerMetrics worker_metrics = 9;- Specified by:
getWorkerMetricsOrBuilderListin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
getWorkerMetricsCount
public int getWorkerMetricsCount()
repeated .build_event_stream.BuildMetrics.WorkerMetrics worker_metrics = 9;- Specified by:
getWorkerMetricsCountin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
getWorkerMetrics
public BuildEventStreamProtos.BuildMetrics.WorkerMetrics getWorkerMetrics(int index)
repeated .build_event_stream.BuildMetrics.WorkerMetrics worker_metrics = 9;- Specified by:
getWorkerMetricsin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
getWorkerMetricsOrBuilder
public BuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder getWorkerMetricsOrBuilder(int index)
repeated .build_event_stream.BuildMetrics.WorkerMetrics worker_metrics = 9;- Specified by:
getWorkerMetricsOrBuilderin interfaceBuildEventStreamProtos.BuildMetricsOrBuilder
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
public void writeTo(CodedOutputStream output) throws java.io.IOException
Description copied from interface:MessageLiteSerializes the message and writes it tooutput. This does not flush or close the stream.- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
Description copied from interface:MessageLiteGet the number of bytes required to encode this message. The result is only computed on the first call and memoized after that. If this message requires more than Integer.MAX_VALUE bytes to encode, the return value will be smaller than the actual number of bytes required and might be negative.- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
Description copied from interface:MessageCompares the specified object with this message for equality. Returnstrueif the given object is a message of the same type (as defined bygetDescriptorForType()) and has identical values for all of its fields. Subclasses must implement this; inheritingObject.equals()is incorrect.- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage- Parameters:
obj- object to be compared for equality with this message- Returns:
trueif the specified object is equal to this message
-
hashCode
public int hashCode()
Description copied from interface:MessageReturns the hash code value for this message. The hash code of a message should mix the message's type (object identity of the descriptor) with its contents (known and unknown field values). Subclasses must implement this; inheritingObject.hashCode()is incorrect.- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage- Returns:
- the hash code value for this message
- See Also:
Map.hashCode()
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics parseFrom(ByteString data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics parseFrom(byte[] data) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildMetrics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.BuildMetrics parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics parseFrom(CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BuildEventStreamProtos.BuildMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public BuildEventStreamProtos.BuildMetrics.Builder newBuilderForType()
Description copied from interface:MessageLiteConstructs a new builder for a message of the same type as this message.- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
public static BuildEventStreamProtos.BuildMetrics.Builder newBuilder()
-
newBuilder
public static BuildEventStreamProtos.BuildMetrics.Builder newBuilder(BuildEventStreamProtos.BuildMetrics prototype)
-
toBuilder
public BuildEventStreamProtos.BuildMetrics.Builder toBuilder()
Description copied from interface:MessageLiteConstructs a builder initialized with the current message. Use this to derive a new message from the current one.- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected BuildEventStreamProtos.BuildMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Description copied from class:GeneratedMessageV3TODO(xiaofeng): remove this together with GeneratedMessageV3.BuilderParent.- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
public static BuildEventStreamProtos.BuildMetrics getDefaultInstance()
-
parser
public static Parser<BuildEventStreamProtos.BuildMetrics> parser()
-
getParserForType
public Parser<BuildEventStreamProtos.BuildMetrics> getParserForType()
Description copied from interface:MessageLiteGets the parser for a message of the same type as this message.- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
public BuildEventStreamProtos.BuildMetrics getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
-