Class Xplane.XEventMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Xplane.XEventMetadata.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
org.tensorflow.proto.profiler.Xplane.XEventMetadata.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, Xplane.XEventMetadataOrBuilder
- Enclosing class:
Xplane.XEventMetadata
public static final class Xplane.XEventMetadata.Builder
extends GeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
implements Xplane.XEventMetadataOrBuilder
Metadata for an XEvent, corresponds to an event type and is shared by all XEvents with the same metadata_id. Next ID: 7Protobuf type
tensorflow.profiler.XEventMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllChildId(Iterable<? extends Long> values) XPlane.event_metadata map key for children events.addAllStats(Iterable<? extends Xplane.XStat> values) XStats that are constant for all XEvents with the same metadata_id.addChildId(long value) XPlane.event_metadata map key for children events.addRepeatedField(Descriptors.FieldDescriptor field, Object value) addStats(int index, Xplane.XStat value) XStats that are constant for all XEvents with the same metadata_id.addStats(int index, Xplane.XStat.Builder builderForValue) XStats that are constant for all XEvents with the same metadata_id.addStats(Xplane.XStat value) XStats that are constant for all XEvents with the same metadata_id.addStats(Xplane.XStat.Builder builderForValue) XStats that are constant for all XEvents with the same metadata_id.XStats that are constant for all XEvents with the same metadata_id.addStatsBuilder(int index) XStats that are constant for all XEvents with the same metadata_id.build()clear()XPlane.event_metadata map key for children events.Name of the event shown in trace viewer.clearId()XPlane.event_metadata map key.Additional metadata in serialized format.Name of the event.XStats that are constant for all XEvents with the same metadata_id.clone()longgetChildId(int index) XPlane.event_metadata map key for children events.intXPlane.event_metadata map key for children events.XPlane.event_metadata map key for children events.static final Descriptors.DescriptorName of the event shown in trace viewer.Name of the event shown in trace viewer.longgetId()XPlane.event_metadata map key.Additional metadata in serialized format.getName()Name of the event.Name of the event.getStats(int index) XStats that are constant for all XEvents with the same metadata_id.getStatsBuilder(int index) XStats that are constant for all XEvents with the same metadata_id.XStats that are constant for all XEvents with the same metadata_id.intXStats that are constant for all XEvents with the same metadata_id.XStats that are constant for all XEvents with the same metadata_id.getStatsOrBuilder(int index) XStats that are constant for all XEvents with the same metadata_id.List<? extends Xplane.XStatOrBuilder> XStats that are constant for all XEvents with the same metadata_id.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(Xplane.XEventMetadata other) mergeUnknownFields(UnknownFieldSet unknownFields) removeStats(int index) XStats that are constant for all XEvents with the same metadata_id.setChildId(int index, long value) XPlane.event_metadata map key for children events.setDisplayName(String value) Name of the event shown in trace viewer.setDisplayNameBytes(ByteString value) Name of the event shown in trace viewer.setField(Descriptors.FieldDescriptor field, Object value) setId(long value) XPlane.event_metadata map key.setMetadata(ByteString value) Additional metadata in serialized format.Name of the event.setNameBytes(ByteString value) Name of the event.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setStats(int index, Xplane.XStat value) XStats that are constant for all XEvents with the same metadata_id.setStats(int index, Xplane.XStat.Builder builderForValue) XStats that are constant for all XEvents with the same metadata_id.setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
setRepeatedField
public Xplane.XEventMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
addRepeatedField
public Xplane.XEventMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Xplane.XEventMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
mergeFrom
public Xplane.XEventMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Xplane.XEventMetadata.Builder>- Throws:
IOException
-
getId
public long getId()XPlane.event_metadata map key.
int64 id = 1;- Specified by:
getIdin interfaceXplane.XEventMetadataOrBuilder- Returns:
- The id.
-
setId
XPlane.event_metadata map key.
int64 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
XPlane.event_metadata map key.
int64 id = 1;- Returns:
- This builder for chaining.
-
getName
Name of the event.
string name = 2;- Specified by:
getNamein interfaceXplane.XEventMetadataOrBuilder- Returns:
- The name.
-
getNameBytes
Name of the event.
string name = 2;- Specified by:
getNameBytesin interfaceXplane.XEventMetadataOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the event.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the event.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
Name of the event.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Name of the event shown in trace viewer.
string display_name = 4;- Specified by:
getDisplayNamein interfaceXplane.XEventMetadataOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
Name of the event shown in trace viewer.
string display_name = 4;- Specified by:
getDisplayNameBytesin interfaceXplane.XEventMetadataOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Name of the event shown in trace viewer.
string display_name = 4;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Name of the event shown in trace viewer.
string display_name = 4;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Name of the event shown in trace viewer.
string display_name = 4;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getMetadata
Additional metadata in serialized format.
bytes metadata = 3;- Specified by:
getMetadatain interfaceXplane.XEventMetadataOrBuilder- Returns:
- The metadata.
-
setMetadata
Additional metadata in serialized format.
bytes metadata = 3;- Parameters:
value- The metadata to set.- Returns:
- This builder for chaining.
-
clearMetadata
Additional metadata in serialized format.
bytes metadata = 3;- Returns:
- This builder for chaining.
-
getStatsList
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5;- Specified by:
getStatsListin interfaceXplane.XEventMetadataOrBuilder
-
getStatsCount
public int getStatsCount()XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5;- Specified by:
getStatsCountin interfaceXplane.XEventMetadataOrBuilder
-
getStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5;- Specified by:
getStatsin interfaceXplane.XEventMetadataOrBuilder
-
setStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
setStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
addStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
addStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
addStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
addStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
addAllStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
clearStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
removeStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
getStatsBuilder
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
getStatsOrBuilder
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5;- Specified by:
getStatsOrBuilderin interfaceXplane.XEventMetadataOrBuilder
-
getStatsOrBuilderList
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5;- Specified by:
getStatsOrBuilderListin interfaceXplane.XEventMetadataOrBuilder
-
addStatsBuilder
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
addStatsBuilder
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
getStatsBuilderList
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5; -
getChildIdList
XPlane.event_metadata map key for children events.
repeated int64 child_id = 6;- Specified by:
getChildIdListin interfaceXplane.XEventMetadataOrBuilder- Returns:
- A list containing the childId.
-
getChildIdCount
public int getChildIdCount()XPlane.event_metadata map key for children events.
repeated int64 child_id = 6;- Specified by:
getChildIdCountin interfaceXplane.XEventMetadataOrBuilder- Returns:
- The count of childId.
-
getChildId
public long getChildId(int index) XPlane.event_metadata map key for children events.
repeated int64 child_id = 6;- Specified by:
getChildIdin interfaceXplane.XEventMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The childId at the given index.
-
setChildId
XPlane.event_metadata map key for children events.
repeated int64 child_id = 6;- Parameters:
index- The index to set the value at.value- The childId to set.- Returns:
- This builder for chaining.
-
addChildId
XPlane.event_metadata map key for children events.
repeated int64 child_id = 6;- Parameters:
value- The childId to add.- Returns:
- This builder for chaining.
-
addAllChildId
XPlane.event_metadata map key for children events.
repeated int64 child_id = 6;- Parameters:
values- The childId to add.- Returns:
- This builder for chaining.
-
clearChildId
XPlane.event_metadata map key for children events.
repeated int64 child_id = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<Xplane.XEventMetadata.Builder>
-