Class RuntimeArtifact.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
com.google.cloud.aiplatform.v1beta1.RuntimeArtifact.Builder
- All Implemented Interfaces:
RuntimeArtifactOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RuntimeArtifact
public static final class RuntimeArtifact.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
implements RuntimeArtifactOrBuilder
The definition of a runtime artifact.Protobuf type
google.cloud.aiplatform.v1beta1.RuntimeArtifact-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Deprecated.Properties of the Artifact.The name of an artifact.Deprecated.The type of the artifact.clearUri()The URI of the artifact.booleanDeprecated.booleancontainsProperties(String key) Deprecated.Deprecated.intDeprecated.Deprecated.getCustomPropertiesOrDefault(String key, Value defaultValue) Deprecated.Deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StructProperties of the Artifact.com.google.protobuf.Struct.BuilderProperties of the Artifact.com.google.protobuf.StructOrBuilderProperties of the Artifact.Deprecated.Deprecated.getName()The name of an artifact.com.google.protobuf.ByteStringThe name of an artifact.Deprecated.intDeprecated.Deprecated.getPropertiesOrDefault(String key, Value defaultValue) Deprecated.Deprecated.getType()The type of the artifact.The type of the artifact.The type of the artifact.getUri()The URI of the artifact.com.google.protobuf.ByteStringThe URI of the artifact.booleanProperties of the Artifact.booleanhasType()The type of the artifact.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(RuntimeArtifact other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMetadata(com.google.protobuf.Struct value) Properties of the Artifact.mergeType(ArtifactTypeSchema value) The type of the artifact.putAllCustomProperties(Map<String, Value> values) Deprecated.putAllProperties(Map<String, Value> values) Deprecated.putCustomProperties(String key, Value value) Deprecated.Deprecated.putProperties(String key, Value value) Deprecated.Deprecated.Deprecated.removeProperties(String key) Deprecated.setMetadata(com.google.protobuf.Struct value) Properties of the Artifact.setMetadata(com.google.protobuf.Struct.Builder builderForValue) Properties of the Artifact.The name of an artifact.setNameBytes(com.google.protobuf.ByteString value) The name of an artifact.setType(ArtifactTypeSchema value) The type of the artifact.setType(ArtifactTypeSchema.Builder builderForValue) The type of the artifact.The URI of the artifact.setUriBytes(com.google.protobuf.ByteString value) The URI of the artifact.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RuntimeArtifact.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
-
mergeFrom
public RuntimeArtifact.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RuntimeArtifact.Builder>- Throws:
IOException
-
getName
The name of an artifact.
string name = 1;- Specified by:
getNamein interfaceRuntimeArtifactOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of an artifact.
string name = 1;- Specified by:
getNameBytesin interfaceRuntimeArtifactOrBuilder- Returns:
- The bytes for name.
-
setName
The name of an artifact.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of an artifact.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The name of an artifact.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;- Specified by:
hasTypein interfaceRuntimeArtifactOrBuilder- Returns:
- Whether the type field is set.
-
getType
The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;- Specified by:
getTypein interfaceRuntimeArtifactOrBuilder- Returns:
- The type.
-
setType
The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2; -
setType
The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2; -
mergeType
The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2; -
clearType
The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2; -
getTypeBuilder
The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2; -
getTypeOrBuilder
The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;- Specified by:
getTypeOrBuilderin interfaceRuntimeArtifactOrBuilder
-
getUri
The URI of the artifact.
string uri = 3;- Specified by:
getUriin interfaceRuntimeArtifactOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()The URI of the artifact.
string uri = 3;- Specified by:
getUriBytesin interfaceRuntimeArtifactOrBuilder- Returns:
- The bytes for uri.
-
setUri
The URI of the artifact.
string uri = 3;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
The URI of the artifact.
string uri = 3;- Returns:
- This builder for chaining.
-
setUriBytes
The URI of the artifact.
string uri = 3;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getPropertiesCount
Deprecated.Description copied from interface:RuntimeArtifactOrBuilderThe properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];- Specified by:
getPropertiesCountin interfaceRuntimeArtifactOrBuilder
-
containsProperties
Deprecated.The properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];- Specified by:
containsPropertiesin interfaceRuntimeArtifactOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceRuntimeArtifactOrBuilder
-
getPropertiesMap
Deprecated.The properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];- Specified by:
getPropertiesMapin interfaceRuntimeArtifactOrBuilder
-
getPropertiesOrDefault
Deprecated.The properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];- Specified by:
getPropertiesOrDefaultin interfaceRuntimeArtifactOrBuilder
-
getPropertiesOrThrow
Deprecated.The properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];- Specified by:
getPropertiesOrThrowin interfaceRuntimeArtifactOrBuilder
-
clearProperties
Deprecated. -
removeProperties
Deprecated.The properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true]; -
getMutableProperties
Deprecated.Use alternate mutation accessors instead. -
putProperties
Deprecated.The properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true]; -
putAllProperties
Deprecated.The properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true]; -
putPropertiesBuilderIfAbsent
Deprecated.The properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true]; -
getCustomPropertiesCount
Deprecated.Description copied from interface:RuntimeArtifactOrBuilderThe custom properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];- Specified by:
getCustomPropertiesCountin interfaceRuntimeArtifactOrBuilder
-
containsCustomProperties
Deprecated.The custom properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];- Specified by:
containsCustomPropertiesin interfaceRuntimeArtifactOrBuilder
-
getCustomProperties
Deprecated.UsegetCustomPropertiesMap()instead.- Specified by:
getCustomPropertiesin interfaceRuntimeArtifactOrBuilder
-
getCustomPropertiesMap
Deprecated.The custom properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];- Specified by:
getCustomPropertiesMapin interfaceRuntimeArtifactOrBuilder
-
getCustomPropertiesOrDefault
Deprecated.The custom properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];- Specified by:
getCustomPropertiesOrDefaultin interfaceRuntimeArtifactOrBuilder
-
getCustomPropertiesOrThrow
Deprecated.The custom properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];- Specified by:
getCustomPropertiesOrThrowin interfaceRuntimeArtifactOrBuilder
-
clearCustomProperties
Deprecated. -
removeCustomProperties
Deprecated.The custom properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true]; -
getMutableCustomProperties
Deprecated.Use alternate mutation accessors instead. -
putCustomProperties
Deprecated.The custom properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true]; -
putAllCustomProperties
Deprecated.The custom properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true]; -
putCustomPropertiesBuilderIfAbsent
Deprecated.The custom properties of the artifact. Deprecated. Use [RuntimeArtifact.metadata][google.cloud.aiplatform.v1beta1.RuntimeArtifact.metadata] instead.
map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true]; -
hasMetadata
public boolean hasMetadata()Properties of the Artifact.
.google.protobuf.Struct metadata = 6;- Specified by:
hasMetadatain interfaceRuntimeArtifactOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public com.google.protobuf.Struct getMetadata()Properties of the Artifact.
.google.protobuf.Struct metadata = 6;- Specified by:
getMetadatain interfaceRuntimeArtifactOrBuilder- Returns:
- The metadata.
-
setMetadata
Properties of the Artifact.
.google.protobuf.Struct metadata = 6; -
setMetadata
Properties of the Artifact.
.google.protobuf.Struct metadata = 6; -
mergeMetadata
Properties of the Artifact.
.google.protobuf.Struct metadata = 6; -
clearMetadata
Properties of the Artifact.
.google.protobuf.Struct metadata = 6; -
getMetadataBuilder
public com.google.protobuf.Struct.Builder getMetadataBuilder()Properties of the Artifact.
.google.protobuf.Struct metadata = 6; -
getMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Properties of the Artifact.
.google.protobuf.Struct metadata = 6;- Specified by:
getMetadataOrBuilderin interfaceRuntimeArtifactOrBuilder
-