public static final class Annotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder> implements AnnotationOrBuilder
Used to assign specific AnnotationSpec to a particular area of a DataItem or the whole part of the DataItem.Protobuf type
google.cloud.aiplatform.v1beta1.Annotation| Modifier and Type | Method and Description |
|---|---|
Annotation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Annotation |
build() |
Annotation |
buildPartial() |
Annotation.Builder |
clear() |
Annotation.Builder |
clearAnnotationSource()
Output only.
|
Annotation.Builder |
clearCreateTime()
Output only.
|
Annotation.Builder |
clearEtag()
Optional.
|
Annotation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Annotation.Builder |
clearLabels() |
Annotation.Builder |
clearName()
Output only.
|
Annotation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Annotation.Builder |
clearPayload()
Required.
|
Annotation.Builder |
clearPayloadSchemaUri()
Required.
|
Annotation.Builder |
clearUpdateTime()
Output only.
|
Annotation.Builder |
clone() |
boolean |
containsLabels(String key)
Optional.
|
UserActionReference |
getAnnotationSource()
Output only.
|
UserActionReference.Builder |
getAnnotationSourceBuilder()
Output only.
|
UserActionReferenceOrBuilder |
getAnnotationSourceOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Annotation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEtag()
Optional.
|
com.google.protobuf.ByteString |
getEtagBytes()
Optional.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Value |
getPayload()
Required.
|
com.google.protobuf.Value.Builder |
getPayloadBuilder()
Required.
|
com.google.protobuf.ValueOrBuilder |
getPayloadOrBuilder()
Required.
|
String |
getPayloadSchemaUri()
Required.
|
com.google.protobuf.ByteString |
getPayloadSchemaUriBytes()
Required.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasAnnotationSource()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasPayload()
Required.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Annotation.Builder |
mergeAnnotationSource(UserActionReference value)
Output only.
|
Annotation.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
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 |
mergePayload(com.google.protobuf.Value value)
Required.
|
Annotation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Annotation.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Annotation.Builder |
putAllLabels(Map<String,String> values)
Optional.
|
Annotation.Builder |
putLabels(String key,
String value)
Optional.
|
Annotation.Builder |
removeLabels(String key)
Optional.
|
Annotation.Builder |
setAnnotationSource(UserActionReference.Builder builderForValue)
Output only.
|
Annotation.Builder |
setAnnotationSource(UserActionReference value)
Output only.
|
Annotation.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Annotation.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Annotation.Builder |
setEtag(String value)
Optional.
|
Annotation.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Optional.
|
Annotation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Annotation.Builder |
setName(String value)
Output only.
|
Annotation.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Annotation.Builder |
setPayload(com.google.protobuf.Value.Builder builderForValue)
Required.
|
Annotation.Builder |
setPayload(com.google.protobuf.Value value)
Required.
|
Annotation.Builder |
setPayloadSchemaUri(String value)
Required.
|
Annotation.Builder |
setPayloadSchemaUriBytes(com.google.protobuf.ByteString value)
Required.
|
Annotation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Annotation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Annotation.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Annotation.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Annotation.Builder>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 String getName()
Output only. Resource name of the Annotation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface AnnotationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the Annotation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface AnnotationOrBuilderpublic Annotation.Builder setName(String value)
Output only. Resource name of the Annotation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Annotation.Builder clearName()
Output only. Resource name of the Annotation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Annotation.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the Annotation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getPayloadSchemaUri()
Required. Google Cloud Storage URI points to a YAML file describing [payload][google.cloud.aiplatform.v1beta1.Annotation.payload]. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with the parent Dataset's [metadata][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri].
string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED];getPayloadSchemaUri in interface AnnotationOrBuilderpublic com.google.protobuf.ByteString getPayloadSchemaUriBytes()
Required. Google Cloud Storage URI points to a YAML file describing [payload][google.cloud.aiplatform.v1beta1.Annotation.payload]. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with the parent Dataset's [metadata][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri].
string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED];getPayloadSchemaUriBytes in interface AnnotationOrBuilderpublic Annotation.Builder setPayloadSchemaUri(String value)
Required. Google Cloud Storage URI points to a YAML file describing [payload][google.cloud.aiplatform.v1beta1.Annotation.payload]. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with the parent Dataset's [metadata][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri].
string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED];value - The payloadSchemaUri to set.public Annotation.Builder clearPayloadSchemaUri()
Required. Google Cloud Storage URI points to a YAML file describing [payload][google.cloud.aiplatform.v1beta1.Annotation.payload]. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with the parent Dataset's [metadata][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri].
string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED];public Annotation.Builder setPayloadSchemaUriBytes(com.google.protobuf.ByteString value)
Required. Google Cloud Storage URI points to a YAML file describing [payload][google.cloud.aiplatform.v1beta1.Annotation.payload]. The schema is defined as an [OpenAPI 3.0.2 Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with the parent Dataset's [metadata][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri].
string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for payloadSchemaUri to set.public boolean hasPayload()
Required. The schema of the payload can be found in [payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri].
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];hasPayload in interface AnnotationOrBuilderpublic com.google.protobuf.Value getPayload()
Required. The schema of the payload can be found in [payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri].
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];getPayload in interface AnnotationOrBuilderpublic Annotation.Builder setPayload(com.google.protobuf.Value value)
Required. The schema of the payload can be found in [payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri].
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];public Annotation.Builder setPayload(com.google.protobuf.Value.Builder builderForValue)
Required. The schema of the payload can be found in [payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri].
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];public Annotation.Builder mergePayload(com.google.protobuf.Value value)
Required. The schema of the payload can be found in [payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri].
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];public Annotation.Builder clearPayload()
Required. The schema of the payload can be found in [payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri].
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];public com.google.protobuf.Value.Builder getPayloadBuilder()
Required. The schema of the payload can be found in [payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri].
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];public com.google.protobuf.ValueOrBuilder getPayloadOrBuilder()
Required. The schema of the payload can be found in [payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri].
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];getPayloadOrBuilder in interface AnnotationOrBuilderpublic boolean hasCreateTime()
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface AnnotationOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface AnnotationOrBuilderpublic Annotation.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder clearCreateTime()
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface AnnotationOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface AnnotationOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface AnnotationOrBuilderpublic Annotation.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder clearUpdateTime()
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface AnnotationOrBuilderpublic String getEtag()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];getEtag in interface AnnotationOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];getEtagBytes in interface AnnotationOrBuilderpublic Annotation.Builder setEtag(String value)
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];value - The etag to set.public Annotation.Builder clearEtag()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];public Annotation.Builder setEtagBytes(com.google.protobuf.ByteString value)
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for etag to set.public boolean hasAnnotationSource()
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAnnotationSource in interface AnnotationOrBuilderpublic UserActionReference getAnnotationSource()
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnnotationSource in interface AnnotationOrBuilderpublic Annotation.Builder setAnnotationSource(UserActionReference value)
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder setAnnotationSource(UserActionReference.Builder builderForValue)
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder mergeAnnotationSource(UserActionReference value)
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Annotation.Builder clearAnnotationSource()
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public UserActionReference.Builder getAnnotationSourceBuilder()
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public UserActionReferenceOrBuilder getAnnotationSourceOrBuilder()
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnnotationSourceOrBuilder in interface AnnotationOrBuilderpublic int getLabelsCount()
AnnotationOrBuilderOptional. The labels with user-defined metadata to organize your Annotations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Annotation(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each Annotation: * "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's annotation set this Annotation belongs to. If not set, the Annotation is not visible in the UI. * "aiplatform.googleapis.com/payload_schema": output only, its value is the [payload_schema's][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];getLabelsCount in interface AnnotationOrBuilderpublic boolean containsLabels(String key)
Optional. The labels with user-defined metadata to organize your Annotations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Annotation(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each Annotation: * "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's annotation set this Annotation belongs to. If not set, the Annotation is not visible in the UI. * "aiplatform.googleapis.com/payload_schema": output only, its value is the [payload_schema's][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];containsLabels in interface AnnotationOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface AnnotationOrBuilderpublic Map<String,String> getLabelsMap()
Optional. The labels with user-defined metadata to organize your Annotations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Annotation(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each Annotation: * "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's annotation set this Annotation belongs to. If not set, the Annotation is not visible in the UI. * "aiplatform.googleapis.com/payload_schema": output only, its value is the [payload_schema's][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];getLabelsMap in interface AnnotationOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels with user-defined metadata to organize your Annotations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Annotation(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each Annotation: * "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's annotation set this Annotation belongs to. If not set, the Annotation is not visible in the UI. * "aiplatform.googleapis.com/payload_schema": output only, its value is the [payload_schema's][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];getLabelsOrDefault in interface AnnotationOrBuilderpublic String getLabelsOrThrow(String key)
Optional. The labels with user-defined metadata to organize your Annotations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Annotation(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each Annotation: * "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's annotation set this Annotation belongs to. If not set, the Annotation is not visible in the UI. * "aiplatform.googleapis.com/payload_schema": output only, its value is the [payload_schema's][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];getLabelsOrThrow in interface AnnotationOrBuilderpublic Annotation.Builder clearLabels()
public Annotation.Builder removeLabels(String key)
Optional. The labels with user-defined metadata to organize your Annotations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Annotation(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each Annotation: * "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's annotation set this Annotation belongs to. If not set, the Annotation is not visible in the UI. * "aiplatform.googleapis.com/payload_schema": output only, its value is the [payload_schema's][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];@Deprecated public Map<String,String> getMutableLabels()
public Annotation.Builder putLabels(String key, String value)
Optional. The labels with user-defined metadata to organize your Annotations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Annotation(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each Annotation: * "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's annotation set this Annotation belongs to. If not set, the Annotation is not visible in the UI. * "aiplatform.googleapis.com/payload_schema": output only, its value is the [payload_schema's][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];public Annotation.Builder putAllLabels(Map<String,String> values)
Optional. The labels with user-defined metadata to organize your Annotations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Annotation(System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each Annotation: * "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's annotation set this Annotation belongs to. If not set, the Annotation is not visible in the UI. * "aiplatform.googleapis.com/payload_schema": output only, its value is the [payload_schema's][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri] title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];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 © 2025 Google LLC. All rights reserved.