public static final class AnnotationSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpec.Builder> implements AnnotationSpecOrBuilder
Identifies a concept with which DataItems may be annotated with.Protobuf type
google.cloud.aiplatform.v1beta1.AnnotationSpec| Modifier and Type | Method and Description |
|---|---|
AnnotationSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AnnotationSpec |
build() |
AnnotationSpec |
buildPartial() |
AnnotationSpec.Builder |
clear() |
AnnotationSpec.Builder |
clearCreateTime()
Output only.
|
AnnotationSpec.Builder |
clearDisplayName()
Required.
|
AnnotationSpec.Builder |
clearEtag()
Optional.
|
AnnotationSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AnnotationSpec.Builder |
clearName()
Output only.
|
AnnotationSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AnnotationSpec.Builder |
clearUpdateTime()
Output only.
|
AnnotationSpec.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
AnnotationSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getEtag()
Optional.
|
com.google.protobuf.ByteString |
getEtagBytes()
Optional.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AnnotationSpec.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
AnnotationSpec.Builder |
mergeFrom(AnnotationSpec other) |
AnnotationSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AnnotationSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
AnnotationSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AnnotationSpec.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
AnnotationSpec.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
AnnotationSpec.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
AnnotationSpec.Builder |
setDisplayName(String value)
Required.
|
AnnotationSpec.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
AnnotationSpec.Builder |
setEtag(String value)
Optional.
|
AnnotationSpec.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Optional.
|
AnnotationSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AnnotationSpec.Builder |
setName(String value)
Output only.
|
AnnotationSpec.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
AnnotationSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AnnotationSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AnnotationSpec.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
AnnotationSpec.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpec.Builder>public AnnotationSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpec.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<AnnotationSpec.Builder>public AnnotationSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AnnotationSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AnnotationSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AnnotationSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpec.Builder>public AnnotationSpec.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<AnnotationSpec.Builder>public AnnotationSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpec.Builder>public AnnotationSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpec.Builder>public AnnotationSpec.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<AnnotationSpec.Builder>public AnnotationSpec.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<AnnotationSpec.Builder>public AnnotationSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AnnotationSpec.Builder>public AnnotationSpec.Builder mergeFrom(AnnotationSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpec.Builder>public AnnotationSpec.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<AnnotationSpec.Builder>IOExceptionpublic String getName()
Output only. Resource name of the AnnotationSpec.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface AnnotationSpecOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the AnnotationSpec.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface AnnotationSpecOrBuilderpublic AnnotationSpec.Builder setName(String value)
Output only. Resource name of the AnnotationSpec.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public AnnotationSpec.Builder clearName()
Output only. Resource name of the AnnotationSpec.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public AnnotationSpec.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the AnnotationSpec.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getDisplayName()
Required. The user-defined name of the AnnotationSpec. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface AnnotationSpecOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The user-defined name of the AnnotationSpec. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface AnnotationSpecOrBuilderpublic AnnotationSpec.Builder setDisplayName(String value)
Required. The user-defined name of the AnnotationSpec. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public AnnotationSpec.Builder clearDisplayName()
Required. The user-defined name of the AnnotationSpec. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];public AnnotationSpec.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The user-defined name of the AnnotationSpec. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public boolean hasCreateTime()
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface AnnotationSpecOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface AnnotationSpecOrBuilderpublic AnnotationSpec.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AnnotationSpec.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AnnotationSpec.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AnnotationSpec.Builder clearCreateTime()
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface AnnotationSpecOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface AnnotationSpecOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface AnnotationSpecOrBuilderpublic AnnotationSpec.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AnnotationSpec.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AnnotationSpec.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AnnotationSpec.Builder clearUpdateTime()
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface AnnotationSpecOrBuilderpublic String getEtag()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 5 [(.google.api.field_behavior) = OPTIONAL];getEtag in interface AnnotationSpecOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 5 [(.google.api.field_behavior) = OPTIONAL];getEtagBytes in interface AnnotationSpecOrBuilderpublic AnnotationSpec.Builder setEtag(String value)
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 5 [(.google.api.field_behavior) = OPTIONAL];value - The etag to set.public AnnotationSpec.Builder clearEtag()
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 5 [(.google.api.field_behavior) = OPTIONAL];public AnnotationSpec.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 = 5 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for etag to set.public final AnnotationSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpec.Builder>public final AnnotationSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AnnotationSpec.Builder>Copyright © 2025 Google LLC. All rights reserved.