public static final class Annotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder> implements AnnotationOrBuilder
Additional information about the schema or about a feature.Protobuf type
tensorflow.metadata.v0.Annotation| Modifier and Type | Method and Description |
|---|---|
Annotation.Builder |
addAllComment(Iterable<String> values)
Free-text comments.
|
Annotation.Builder |
addAllExtraMetadata(Iterable<? extends com.google.protobuf.Any> values)
Application-specific metadata may be attached here.
|
Annotation.Builder |
addAllTag(Iterable<String> values)
Tags can be used to mark features.
|
Annotation.Builder |
addComment(String value)
Free-text comments.
|
Annotation.Builder |
addCommentBytes(com.google.protobuf.ByteString value)
Free-text comments.
|
Annotation.Builder |
addExtraMetadata(com.google.protobuf.Any.Builder builderForValue)
Application-specific metadata may be attached here.
|
Annotation.Builder |
addExtraMetadata(com.google.protobuf.Any value)
Application-specific metadata may be attached here.
|
Annotation.Builder |
addExtraMetadata(int index,
com.google.protobuf.Any.Builder builderForValue)
Application-specific metadata may be attached here.
|
Annotation.Builder |
addExtraMetadata(int index,
com.google.protobuf.Any value)
Application-specific metadata may be attached here.
|
com.google.protobuf.Any.Builder |
addExtraMetadataBuilder()
Application-specific metadata may be attached here.
|
com.google.protobuf.Any.Builder |
addExtraMetadataBuilder(int index)
Application-specific metadata may be attached here.
|
Annotation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Annotation.Builder |
addTag(String value)
Tags can be used to mark features.
|
Annotation.Builder |
addTagBytes(com.google.protobuf.ByteString value)
Tags can be used to mark features.
|
Annotation |
build() |
Annotation |
buildPartial() |
Annotation.Builder |
clear() |
Annotation.Builder |
clearComment()
Free-text comments.
|
Annotation.Builder |
clearExtraMetadata()
Application-specific metadata may be attached here.
|
Annotation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Annotation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Annotation.Builder |
clearTag()
Tags can be used to mark features.
|
Annotation.Builder |
clone() |
String |
getComment(int index)
Free-text comments.
|
com.google.protobuf.ByteString |
getCommentBytes(int index)
Free-text comments.
|
int |
getCommentCount()
Free-text comments.
|
com.google.protobuf.ProtocolStringList |
getCommentList()
Free-text comments.
|
Annotation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Any |
getExtraMetadata(int index)
Application-specific metadata may be attached here.
|
com.google.protobuf.Any.Builder |
getExtraMetadataBuilder(int index)
Application-specific metadata may be attached here.
|
List<com.google.protobuf.Any.Builder> |
getExtraMetadataBuilderList()
Application-specific metadata may be attached here.
|
int |
getExtraMetadataCount()
Application-specific metadata may be attached here.
|
List<com.google.protobuf.Any> |
getExtraMetadataList()
Application-specific metadata may be attached here.
|
com.google.protobuf.AnyOrBuilder |
getExtraMetadataOrBuilder(int index)
Application-specific metadata may be attached here.
|
List<? extends com.google.protobuf.AnyOrBuilder> |
getExtraMetadataOrBuilderList()
Application-specific metadata may be attached here.
|
String |
getTag(int index)
Tags can be used to mark features.
|
com.google.protobuf.ByteString |
getTagBytes(int index)
Tags can be used to mark features.
|
int |
getTagCount()
Tags can be used to mark features.
|
com.google.protobuf.ProtocolStringList |
getTagList()
Tags can be used to mark features.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Annotation.Builder |
mergeFrom(Annotation other) |
Annotation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Annotation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Annotation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Annotation.Builder |
removeExtraMetadata(int index)
Application-specific metadata may be attached here.
|
Annotation.Builder |
setComment(int index,
String value)
Free-text comments.
|
Annotation.Builder |
setExtraMetadata(int index,
com.google.protobuf.Any.Builder builderForValue)
Application-specific metadata may be attached here.
|
Annotation.Builder |
setExtraMetadata(int index,
com.google.protobuf.Any value)
Application-specific metadata may be attached here.
|
Annotation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Annotation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Annotation.Builder |
setTag(int index,
String value)
Tags can be used to mark features.
|
Annotation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Annotation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Annotation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Annotation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Annotation.Builder>public Annotation.Builder mergeFrom(Annotation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public Annotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Annotation.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getTagList()
Tags can be used to mark features. For example, tag on user_age feature can be `user_feature`, tag on user_country feature can be `location_feature`, `user_feature`.
repeated string tag = 1;getTagList in interface AnnotationOrBuilderpublic int getTagCount()
Tags can be used to mark features. For example, tag on user_age feature can be `user_feature`, tag on user_country feature can be `location_feature`, `user_feature`.
repeated string tag = 1;getTagCount in interface AnnotationOrBuilderpublic String getTag(int index)
Tags can be used to mark features. For example, tag on user_age feature can be `user_feature`, tag on user_country feature can be `location_feature`, `user_feature`.
repeated string tag = 1;getTag in interface AnnotationOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTagBytes(int index)
Tags can be used to mark features. For example, tag on user_age feature can be `user_feature`, tag on user_country feature can be `location_feature`, `user_feature`.
repeated string tag = 1;getTagBytes in interface AnnotationOrBuilderindex - The index of the value to return.public Annotation.Builder setTag(int index, String value)
Tags can be used to mark features. For example, tag on user_age feature can be `user_feature`, tag on user_country feature can be `location_feature`, `user_feature`.
repeated string tag = 1;index - The index to set the value at.value - The tag to set.public Annotation.Builder addTag(String value)
Tags can be used to mark features. For example, tag on user_age feature can be `user_feature`, tag on user_country feature can be `location_feature`, `user_feature`.
repeated string tag = 1;value - The tag to add.public Annotation.Builder addAllTag(Iterable<String> values)
Tags can be used to mark features. For example, tag on user_age feature can be `user_feature`, tag on user_country feature can be `location_feature`, `user_feature`.
repeated string tag = 1;values - The tag to add.public Annotation.Builder clearTag()
Tags can be used to mark features. For example, tag on user_age feature can be `user_feature`, tag on user_country feature can be `location_feature`, `user_feature`.
repeated string tag = 1;public Annotation.Builder addTagBytes(com.google.protobuf.ByteString value)
Tags can be used to mark features. For example, tag on user_age feature can be `user_feature`, tag on user_country feature can be `location_feature`, `user_feature`.
repeated string tag = 1;value - The bytes of the tag to add.public com.google.protobuf.ProtocolStringList getCommentList()
Free-text comments. This can be used as a description of the feature, developer notes etc.
repeated string comment = 2;getCommentList in interface AnnotationOrBuilderpublic int getCommentCount()
Free-text comments. This can be used as a description of the feature, developer notes etc.
repeated string comment = 2;getCommentCount in interface AnnotationOrBuilderpublic String getComment(int index)
Free-text comments. This can be used as a description of the feature, developer notes etc.
repeated string comment = 2;getComment in interface AnnotationOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCommentBytes(int index)
Free-text comments. This can be used as a description of the feature, developer notes etc.
repeated string comment = 2;getCommentBytes in interface AnnotationOrBuilderindex - The index of the value to return.public Annotation.Builder setComment(int index, String value)
Free-text comments. This can be used as a description of the feature, developer notes etc.
repeated string comment = 2;index - The index to set the value at.value - The comment to set.public Annotation.Builder addComment(String value)
Free-text comments. This can be used as a description of the feature, developer notes etc.
repeated string comment = 2;value - The comment to add.public Annotation.Builder addAllComment(Iterable<String> values)
Free-text comments. This can be used as a description of the feature, developer notes etc.
repeated string comment = 2;values - The comment to add.public Annotation.Builder clearComment()
Free-text comments. This can be used as a description of the feature, developer notes etc.
repeated string comment = 2;public Annotation.Builder addCommentBytes(com.google.protobuf.ByteString value)
Free-text comments. This can be used as a description of the feature, developer notes etc.
repeated string comment = 2;value - The bytes of the comment to add.public List<com.google.protobuf.Any> getExtraMetadataList()
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;getExtraMetadataList in interface AnnotationOrBuilderpublic int getExtraMetadataCount()
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;getExtraMetadataCount in interface AnnotationOrBuilderpublic com.google.protobuf.Any getExtraMetadata(int index)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;getExtraMetadata in interface AnnotationOrBuilderpublic Annotation.Builder setExtraMetadata(int index, com.google.protobuf.Any value)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public Annotation.Builder setExtraMetadata(int index, com.google.protobuf.Any.Builder builderForValue)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public Annotation.Builder addExtraMetadata(com.google.protobuf.Any value)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public Annotation.Builder addExtraMetadata(int index, com.google.protobuf.Any value)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public Annotation.Builder addExtraMetadata(com.google.protobuf.Any.Builder builderForValue)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public Annotation.Builder addExtraMetadata(int index, com.google.protobuf.Any.Builder builderForValue)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public Annotation.Builder addAllExtraMetadata(Iterable<? extends com.google.protobuf.Any> values)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public Annotation.Builder clearExtraMetadata()
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public Annotation.Builder removeExtraMetadata(int index)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public com.google.protobuf.Any.Builder getExtraMetadataBuilder(int index)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public com.google.protobuf.AnyOrBuilder getExtraMetadataOrBuilder(int index)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;getExtraMetadataOrBuilder in interface AnnotationOrBuilderpublic List<? extends com.google.protobuf.AnyOrBuilder> getExtraMetadataOrBuilderList()
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;getExtraMetadataOrBuilderList in interface AnnotationOrBuilderpublic com.google.protobuf.Any.Builder addExtraMetadataBuilder()
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public com.google.protobuf.Any.Builder addExtraMetadataBuilder(int index)
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public List<com.google.protobuf.Any.Builder> getExtraMetadataBuilderList()
Application-specific metadata may be attached here.
repeated .google.protobuf.Any extra_metadata = 3;public final Annotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>public final Annotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>Copyright © 2020 Gojek. All rights reserved.