- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class Annotation.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Annotation.BuilderImplements
AnnotationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Annotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Annotation.Builder |
build()
public Annotation build()
Type | Description |
Annotation |
buildPartial()
public Annotation buildPartial()
Type | Description |
Annotation |
clear()
public Annotation.Builder clear()
Type | Description |
Annotation.Builder |
clearAnnotationSource()
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];
Type | Description |
Annotation.Builder |
clearCreateTime()
public Annotation.Builder clearCreateTime()
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Annotation.Builder |
clearEtag()
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];
Type | Description |
Annotation.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Annotation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Annotation.Builder |
clearLabels()
public Annotation.Builder clearLabels()
Type | Description |
Annotation.Builder |
clearName()
public Annotation.Builder clearName()
Output only. Resource name of the Annotation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Annotation.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Annotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Annotation.Builder |
clearPayload()
public Annotation.Builder clearPayload()
Required. The schema of the payload can be found in payload_schema.
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Annotation.Builder |
clearPayloadSchemaUri()
public Annotation.Builder clearPayloadSchemaUri()
Required. Google Cloud Storage URI points to a YAML file describing payload. The schema is defined as an OpenAPI 3.0.2 Schema Object. 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.
string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Annotation.Builder | This builder for chaining. |
clearUpdateTime()
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];
Type | Description |
Annotation.Builder |
clone()
public Annotation.Builder clone()
Type | Description |
Annotation.Builder |
containsLabels(String key)
public 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 title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getAnnotationSource()
public UserActionReference getAnnotationSource()
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
UserActionReference | The annotationSource. |
getAnnotationSourceBuilder()
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];
Type | Description |
UserActionReference.Builder |
getAnnotationSourceOrBuilder()
public UserActionReferenceOrBuilder getAnnotationSourceOrBuilder()
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
UserActionReferenceOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Annotation getDefaultInstanceForType()
Type | Description |
Annotation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEtag()
public 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];
Type | Description |
String | The etag. |
getEtagBytes()
public 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];
Type | Description |
ByteString | The bytes for etag. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
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 title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
public 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 title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public 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 title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public 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 title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Output only. Resource name of the Annotation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Resource name of the Annotation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getPayload()
public Value getPayload()
Required. The schema of the payload can be found in payload_schema.
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Value | The payload. |
getPayloadBuilder()
public Value.Builder getPayloadBuilder()
Required. The schema of the payload can be found in payload_schema.
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Builder |
getPayloadOrBuilder()
public ValueOrBuilder getPayloadOrBuilder()
Required. The schema of the payload can be found in payload_schema.
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ValueOrBuilder |
getPayloadSchemaUri()
public String getPayloadSchemaUri()
Required. Google Cloud Storage URI points to a YAML file describing payload. The schema is defined as an OpenAPI 3.0.2 Schema Object. 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.
string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The payloadSchemaUri. |
getPayloadSchemaUriBytes()
public ByteString getPayloadSchemaUriBytes()
Required. Google Cloud Storage URI points to a YAML file describing payload. The schema is defined as an OpenAPI 3.0.2 Schema Object. 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.
string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for payloadSchemaUri. |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
hasAnnotationSource()
public boolean hasAnnotationSource()
Output only. The source of the Annotation.
.google.cloud.aiplatform.v1beta1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the annotationSource field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasPayload()
public boolean hasPayload()
Required. The schema of the payload can be found in payload_schema.
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the payload field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAnnotationSource(UserActionReference value)
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];
Name | Description |
value | UserActionReference |
Type | Description |
Annotation.Builder |
mergeCreateTime(Timestamp value)
public Annotation.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Annotation.Builder |
mergeFrom(Annotation other)
public Annotation.Builder mergeFrom(Annotation other)
Name | Description |
other | Annotation |
Type | Description |
Annotation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Annotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Annotation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Annotation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Annotation.Builder |
mergePayload(Value value)
public Annotation.Builder mergePayload(Value value)
Required. The schema of the payload can be found in payload_schema.
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Value |
Type | Description |
Annotation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Annotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Annotation.Builder |
mergeUpdateTime(Timestamp value)
public Annotation.Builder mergeUpdateTime(Timestamp value)
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Annotation.Builder |
putAllLabels(Map<String,String> values)
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 title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Map<String,String> |
Type | Description |
Annotation.Builder |
putLabels(String key, String value)
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 title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
value | String |
Type | Description |
Annotation.Builder |
removeLabels(String key)
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 title.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
Annotation.Builder |
setAnnotationSource(UserActionReference value)
public 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];
Name | Description |
value | UserActionReference |
Type | Description |
Annotation.Builder |
setAnnotationSource(UserActionReference.Builder builderForValue)
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];
Name | Description |
builderForValue | UserActionReference.Builder |
Type | Description |
Annotation.Builder |
setCreateTime(Timestamp value)
public Annotation.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Annotation.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Annotation.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this Annotation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Annotation.Builder |
setEtag(String value)
public 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];
Name | Description |
value | String The etag to set. |
Type | Description |
Annotation.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public Annotation.Builder setEtagBytes(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];
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
Annotation.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Annotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Annotation.Builder |
setName(String value)
public Annotation.Builder setName(String value)
Output only. Resource name of the Annotation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Annotation.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Annotation.Builder setNameBytes(ByteString value)
Output only. Resource name of the Annotation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Annotation.Builder | This builder for chaining. |
setPayload(Value value)
public Annotation.Builder setPayload(Value value)
Required. The schema of the payload can be found in payload_schema.
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | Value |
Type | Description |
Annotation.Builder |
setPayload(Value.Builder builderForValue)
public Annotation.Builder setPayload(Value.Builder builderForValue)
Required. The schema of the payload can be found in payload_schema.
.google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | Builder |
Type | Description |
Annotation.Builder |
setPayloadSchemaUri(String value)
public Annotation.Builder setPayloadSchemaUri(String value)
Required. Google Cloud Storage URI points to a YAML file describing payload. The schema is defined as an OpenAPI 3.0.2 Schema Object. 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.
string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The payloadSchemaUri to set. |
Type | Description |
Annotation.Builder | This builder for chaining. |
setPayloadSchemaUriBytes(ByteString value)
public Annotation.Builder setPayloadSchemaUriBytes(ByteString value)
Required. Google Cloud Storage URI points to a YAML file describing payload. The schema is defined as an OpenAPI 3.0.2 Schema Object. 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.
string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for payloadSchemaUri to set. |
Type | Description |
Annotation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Annotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Annotation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Annotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Annotation.Builder |
setUpdateTime(Timestamp value)
public Annotation.Builder setUpdateTime(Timestamp value)
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Annotation.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Annotation.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this Annotation was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
Annotation.Builder |