Class Artifact.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
- com.google.cloud.aiplatform.v1beta1.Artifact.Builder
-
- All Implemented Interfaces:
ArtifactOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Artifact
public static final class Artifact.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder> implements ArtifactOrBuilder
Instance of a general artifact.
Protobuf typegoogle.cloud.aiplatform.v1beta1.Artifact
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Artifact.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Artifact
build()
Artifact
buildPartial()
Artifact.Builder
clear()
Artifact.Builder
clearCreateTime()
Output only.Artifact.Builder
clearDescription()
Description of the ArtifactArtifact.Builder
clearDisplayName()
User provided display name of the Artifact.Artifact.Builder
clearEtag()
An eTag used to perform consistent read-modify-write updates.Artifact.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Artifact.Builder
clearLabels()
Artifact.Builder
clearMetadata()
Properties of the Artifact.Artifact.Builder
clearName()
Output only.Artifact.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Artifact.Builder
clearSchemaTitle()
The title of the schema describing the metadata.Artifact.Builder
clearSchemaVersion()
The version of the schema in schema_name to use.Artifact.Builder
clearState()
The state of this Artifact.Artifact.Builder
clearUpdateTime()
Output only.Artifact.Builder
clearUri()
The uniform resource identifier of the artifact file.Artifact.Builder
clone()
boolean
containsLabels(String key)
The labels with user-defined metadata to organize your Artifacts.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Artifact
getDefaultInstanceForType()
String
getDescription()
Description of the Artifactcom.google.protobuf.ByteString
getDescriptionBytes()
Description of the Artifactstatic com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
User provided display name of the Artifact.com.google.protobuf.ByteString
getDisplayNameBytes()
User provided display name of the Artifact.String
getEtag()
An eTag used to perform consistent read-modify-write updates.com.google.protobuf.ByteString
getEtagBytes()
An eTag used to perform consistent read-modify-write updates.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The labels with user-defined metadata to organize your Artifacts.Map<String,String>
getLabelsMap()
The labels with user-defined metadata to organize your Artifacts.String
getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize your Artifacts.String
getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your Artifacts.com.google.protobuf.Struct
getMetadata()
Properties of the Artifact.com.google.protobuf.Struct.Builder
getMetadataBuilder()
Properties of the Artifact.com.google.protobuf.StructOrBuilder
getMetadataOrBuilder()
Properties of the Artifact.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getSchemaTitle()
The title of the schema describing the metadata.com.google.protobuf.ByteString
getSchemaTitleBytes()
The title of the schema describing the metadata.String
getSchemaVersion()
The version of the schema in schema_name to use.com.google.protobuf.ByteString
getSchemaVersionBytes()
The version of the schema in schema_name to use.Artifact.State
getState()
The state of this Artifact.int
getStateValue()
The state of this Artifact.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getUri()
The uniform resource identifier of the artifact file.com.google.protobuf.ByteString
getUriBytes()
The uniform resource identifier of the artifact file.boolean
hasCreateTime()
Output only.boolean
hasMetadata()
Properties of the Artifact.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Artifact.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Artifact.Builder
mergeFrom(Artifact other)
Artifact.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Artifact.Builder
mergeFrom(com.google.protobuf.Message other)
Artifact.Builder
mergeMetadata(com.google.protobuf.Struct value)
Properties of the Artifact.Artifact.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Artifact.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Artifact.Builder
putAllLabels(Map<String,String> values)
The labels with user-defined metadata to organize your Artifacts.Artifact.Builder
putLabels(String key, String value)
The labels with user-defined metadata to organize your Artifacts.Artifact.Builder
removeLabels(String key)
The labels with user-defined metadata to organize your Artifacts.Artifact.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Artifact.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Artifact.Builder
setDescription(String value)
Description of the ArtifactArtifact.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the ArtifactArtifact.Builder
setDisplayName(String value)
User provided display name of the Artifact.Artifact.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
User provided display name of the Artifact.Artifact.Builder
setEtag(String value)
An eTag used to perform consistent read-modify-write updates.Artifact.Builder
setEtagBytes(com.google.protobuf.ByteString value)
An eTag used to perform consistent read-modify-write updates.Artifact.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Artifact.Builder
setMetadata(com.google.protobuf.Struct value)
Properties of the Artifact.Artifact.Builder
setMetadata(com.google.protobuf.Struct.Builder builderForValue)
Properties of the Artifact.Artifact.Builder
setName(String value)
Output only.Artifact.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Artifact.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Artifact.Builder
setSchemaTitle(String value)
The title of the schema describing the metadata.Artifact.Builder
setSchemaTitleBytes(com.google.protobuf.ByteString value)
The title of the schema describing the metadata.Artifact.Builder
setSchemaVersion(String value)
The version of the schema in schema_name to use.Artifact.Builder
setSchemaVersionBytes(com.google.protobuf.ByteString value)
The version of the schema in schema_name to use.Artifact.Builder
setState(Artifact.State value)
The state of this Artifact.Artifact.Builder
setStateValue(int value)
The state of this Artifact.Artifact.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Artifact.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Artifact.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Artifact.Builder
setUri(String value)
The uniform resource identifier of the artifact file.Artifact.Builder
setUriBytes(com.google.protobuf.ByteString value)
The uniform resource identifier of the artifact file.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
clear
public Artifact.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
getDefaultInstanceForType
public Artifact getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Artifact build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Artifact buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Artifact.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
setField
public Artifact.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
clearField
public Artifact.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
clearOneof
public Artifact.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
setRepeatedField
public Artifact.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
addRepeatedField
public Artifact.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
mergeFrom
public Artifact.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Artifact.Builder>
-
mergeFrom
public Artifact.Builder mergeFrom(Artifact other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
mergeFrom
public Artifact.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Artifact.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The resource name of the Artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceArtifactOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the Artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceArtifactOrBuilder
- Returns:
- The bytes for name.
-
setName
public Artifact.Builder setName(String value)
Output only. The resource name of the Artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Artifact.Builder clearName()
Output only. The resource name of the Artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public Artifact.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the Artifact.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
User provided display name of the Artifact. May be up to 128 Unicode characters.
string display_name = 2;
- Specified by:
getDisplayName
in interfaceArtifactOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
User provided display name of the Artifact. May be up to 128 Unicode characters.
string display_name = 2;
- Specified by:
getDisplayNameBytes
in interfaceArtifactOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public Artifact.Builder setDisplayName(String value)
User provided display name of the Artifact. May be up to 128 Unicode characters.
string display_name = 2;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Artifact.Builder clearDisplayName()
User provided display name of the Artifact. May be up to 128 Unicode characters.
string display_name = 2;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Artifact.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User provided display name of the Artifact. May be up to 128 Unicode characters.
string display_name = 2;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUri
public String getUri()
The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.
string uri = 6;
- Specified by:
getUri
in interfaceArtifactOrBuilder
- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()
The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.
string uri = 6;
- Specified by:
getUriBytes
in interfaceArtifactOrBuilder
- Returns:
- The bytes for uri.
-
setUri
public Artifact.Builder setUri(String value)
The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.
string uri = 6;
- Parameters:
value
- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
public Artifact.Builder clearUri()
The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.
string uri = 6;
- Returns:
- This builder for chaining.
-
setUriBytes
public Artifact.Builder setUriBytes(com.google.protobuf.ByteString value)
The uniform resource identifier of the artifact file. May be empty if there is no actual artifact file.
string uri = 6;
- Parameters:
value
- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getEtag
public String getEtag()
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 9;
- Specified by:
getEtag
in interfaceArtifactOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 9;
- Specified by:
getEtagBytes
in interfaceArtifactOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
public Artifact.Builder setEtag(String value)
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 9;
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Artifact.Builder clearEtag()
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 9;
- Returns:
- This builder for chaining.
-
setEtagBytes
public Artifact.Builder setEtagBytes(com.google.protobuf.ByteString value)
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 9;
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ArtifactOrBuilder
The labels with user-defined metadata to organize your Artifacts. 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 Artifact (System labels are excluded).
map<string, string> labels = 10;
- Specified by:
getLabelsCount
in interfaceArtifactOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The labels with user-defined metadata to organize your Artifacts. 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 Artifact (System labels are excluded).
map<string, string> labels = 10;
- Specified by:
containsLabels
in interfaceArtifactOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceArtifactOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The labels with user-defined metadata to organize your Artifacts. 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 Artifact (System labels are excluded).
map<string, string> labels = 10;
- Specified by:
getLabelsMap
in interfaceArtifactOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize your Artifacts. 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 Artifact (System labels are excluded).
map<string, string> labels = 10;
- Specified by:
getLabelsOrDefault
in interfaceArtifactOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your Artifacts. 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 Artifact (System labels are excluded).
map<string, string> labels = 10;
- Specified by:
getLabelsOrThrow
in interfaceArtifactOrBuilder
-
clearLabels
public Artifact.Builder clearLabels()
-
removeLabels
public Artifact.Builder removeLabels(String key)
The labels with user-defined metadata to organize your Artifacts. 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 Artifact (System labels are excluded).
map<string, string> labels = 10;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Artifact.Builder putLabels(String key, String value)
The labels with user-defined metadata to organize your Artifacts. 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 Artifact (System labels are excluded).
map<string, string> labels = 10;
-
putAllLabels
public Artifact.Builder putAllLabels(Map<String,String> values)
The labels with user-defined metadata to organize your Artifacts. 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 Artifact (System labels are excluded).
map<string, string> labels = 10;
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp when this Artifact was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceArtifactOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this Artifact was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceArtifactOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Artifact.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Artifact was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Artifact.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this Artifact was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Artifact.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Artifact was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Artifact.Builder clearCreateTime()
Output only. Timestamp when this Artifact was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this Artifact was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Artifact was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceArtifactOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Timestamp when this Artifact was last updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceArtifactOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when this Artifact was last updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceArtifactOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Artifact.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Artifact was last updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Artifact.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this Artifact was last updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Artifact.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Artifact was last updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Artifact.Builder clearUpdateTime()
Output only. Timestamp when this Artifact was last updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this Artifact was last updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this Artifact was last updated.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceArtifactOrBuilder
-
getStateValue
public int getStateValue()
The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.
.google.cloud.aiplatform.v1beta1.Artifact.State state = 13;
- Specified by:
getStateValue
in interfaceArtifactOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Artifact.Builder setStateValue(int value)
The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.
.google.cloud.aiplatform.v1beta1.Artifact.State state = 13;
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Artifact.State getState()
The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.
.google.cloud.aiplatform.v1beta1.Artifact.State state = 13;
- Specified by:
getState
in interfaceArtifactOrBuilder
- Returns:
- The state.
-
setState
public Artifact.Builder setState(Artifact.State value)
The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.
.google.cloud.aiplatform.v1beta1.Artifact.State state = 13;
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Artifact.Builder clearState()
The state of this Artifact. This is a property of the Artifact, and does not imply or capture any ongoing process. This property is managed by clients (such as Vertex AI Pipelines), and the system does not prescribe or check the validity of state transitions.
.google.cloud.aiplatform.v1beta1.Artifact.State state = 13;
- Returns:
- This builder for chaining.
-
getSchemaTitle
public String getSchemaTitle()
The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_title = 14;
- Specified by:
getSchemaTitle
in interfaceArtifactOrBuilder
- Returns:
- The schemaTitle.
-
getSchemaTitleBytes
public com.google.protobuf.ByteString getSchemaTitleBytes()
The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_title = 14;
- Specified by:
getSchemaTitleBytes
in interfaceArtifactOrBuilder
- Returns:
- The bytes for schemaTitle.
-
setSchemaTitle
public Artifact.Builder setSchemaTitle(String value)
The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_title = 14;
- Parameters:
value
- The schemaTitle to set.- Returns:
- This builder for chaining.
-
clearSchemaTitle
public Artifact.Builder clearSchemaTitle()
The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_title = 14;
- Returns:
- This builder for chaining.
-
setSchemaTitleBytes
public Artifact.Builder setSchemaTitleBytes(com.google.protobuf.ByteString value)
The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_title = 14;
- Parameters:
value
- The bytes for schemaTitle to set.- Returns:
- This builder for chaining.
-
getSchemaVersion
public String getSchemaVersion()
The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_version = 15;
- Specified by:
getSchemaVersion
in interfaceArtifactOrBuilder
- Returns:
- The schemaVersion.
-
getSchemaVersionBytes
public com.google.protobuf.ByteString getSchemaVersionBytes()
The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_version = 15;
- Specified by:
getSchemaVersionBytes
in interfaceArtifactOrBuilder
- Returns:
- The bytes for schemaVersion.
-
setSchemaVersion
public Artifact.Builder setSchemaVersion(String value)
The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_version = 15;
- Parameters:
value
- The schemaVersion to set.- Returns:
- This builder for chaining.
-
clearSchemaVersion
public Artifact.Builder clearSchemaVersion()
The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_version = 15;
- Returns:
- This builder for chaining.
-
setSchemaVersionBytes
public Artifact.Builder setSchemaVersionBytes(com.google.protobuf.ByteString value)
The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
string schema_version = 15;
- Parameters:
value
- The bytes for schemaVersion to set.- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()
Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
- Specified by:
hasMetadata
in interfaceArtifactOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public com.google.protobuf.Struct getMetadata()
Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
- Specified by:
getMetadata
in interfaceArtifactOrBuilder
- Returns:
- The metadata.
-
setMetadata
public Artifact.Builder setMetadata(com.google.protobuf.Struct value)
Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
-
setMetadata
public Artifact.Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue)
Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
-
mergeMetadata
public Artifact.Builder mergeMetadata(com.google.protobuf.Struct value)
Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
-
clearMetadata
public Artifact.Builder clearMetadata()
Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
-
getMetadataBuilder
public com.google.protobuf.Struct.Builder getMetadataBuilder()
Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
-
getMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
Properties of the Artifact. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
.google.protobuf.Struct metadata = 16;
- Specified by:
getMetadataOrBuilder
in interfaceArtifactOrBuilder
-
getDescription
public String getDescription()
Description of the Artifact
string description = 17;
- Specified by:
getDescription
in interfaceArtifactOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the Artifact
string description = 17;
- Specified by:
getDescriptionBytes
in interfaceArtifactOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Artifact.Builder setDescription(String value)
Description of the Artifact
string description = 17;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Artifact.Builder clearDescription()
Description of the Artifact
string description = 17;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Artifact.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the Artifact
string description = 17;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Artifact.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
mergeUnknownFields
public final Artifact.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Artifact.Builder>
-
-