public final class AnnotationSpec extends GeneratedMessageV3 implements AnnotationSpecOrBuilder
Identifies a concept with which DataItems may be annotated with.
Protobuf type google.cloud.aiplatform.v1.AnnotationSpec
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int ETAG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static AnnotationSpec getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static AnnotationSpec.Builder newBuilder()
public static AnnotationSpec.Builder newBuilder(AnnotationSpec prototype)
public static AnnotationSpec parseDelimitedFrom(InputStream input)
public static AnnotationSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AnnotationSpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static AnnotationSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnnotationSpec parseFrom(ByteString data)
public static AnnotationSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnnotationSpec parseFrom(CodedInputStream input)
public static AnnotationSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AnnotationSpec parseFrom(InputStream input)
public static AnnotationSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AnnotationSpec parseFrom(ByteBuffer data)
public static AnnotationSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<AnnotationSpec> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public Timestamp getCreateTime()
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AnnotationSpec getDefaultInstanceForType()
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];
Returns |
---|
Type | Description |
String | The displayName.
|
public 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];
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
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];
Returns |
---|
Type | Description |
String | The etag.
|
public 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];
Returns |
---|
Type | Description |
ByteString | The bytes for etag.
|
Output only. Resource name of the AnnotationSpec.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Output only. Resource name of the AnnotationSpec.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
public Parser<AnnotationSpec> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public final UnknownFieldSet getUnknownFields()
Overrides
public Timestamp getUpdateTime()
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The updateTime.
|
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime()
Output only. Timestamp when this AnnotationSpec was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
public boolean hasUpdateTime()
Output only. Timestamp when AnnotationSpec was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the updateTime field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AnnotationSpec.Builder newBuilderForType()
protected AnnotationSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public AnnotationSpec.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides