Class RuntimeArtifact.Builder (3.55.0)

public static final class RuntimeArtifact.Builder extends GeneratedMessageV3.Builder<RuntimeArtifact.Builder> implements RuntimeArtifactOrBuilder

The definition of a runtime artifact.

Protobuf type google.cloud.aiplatform.v1beta1.RuntimeArtifact

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeArtifact.Builder
Overrides

build()

public RuntimeArtifact build()
Returns
Type Description
RuntimeArtifact

buildPartial()

public RuntimeArtifact buildPartial()
Returns
Type Description
RuntimeArtifact

clear()

public RuntimeArtifact.Builder clear()
Returns
Type Description
RuntimeArtifact.Builder
Overrides

clearCustomProperties() (deprecated)

public RuntimeArtifact.Builder clearCustomProperties()
Returns
Type Description
RuntimeArtifact.Builder

clearField(Descriptors.FieldDescriptor field)

public RuntimeArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RuntimeArtifact.Builder
Overrides

clearMetadata()

public RuntimeArtifact.Builder clearMetadata()

Properties of the Artifact.

.google.protobuf.Struct metadata = 6;

Returns
Type Description
RuntimeArtifact.Builder

clearName()

public RuntimeArtifact.Builder clearName()

The name of an artifact.

string name = 1;

Returns
Type Description
RuntimeArtifact.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuntimeArtifact.Builder
Overrides

clearProperties() (deprecated)

public RuntimeArtifact.Builder clearProperties()
Returns
Type Description
RuntimeArtifact.Builder

clearType()

public RuntimeArtifact.Builder clearType()

The type of the artifact.

.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;

Returns
Type Description
RuntimeArtifact.Builder

clearUri()

public RuntimeArtifact.Builder clearUri()

The URI of the artifact.

string uri = 3;

Returns
Type Description
RuntimeArtifact.Builder

This builder for chaining.

clone()

public RuntimeArtifact.Builder clone()
Returns
Type Description
RuntimeArtifact.Builder
Overrides

containsCustomProperties(String key) (deprecated)

public boolean containsCustomProperties(String key)

The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsProperties(String key) (deprecated)

public boolean containsProperties(String key)

The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCustomProperties() (deprecated)

public Map<String,Value> getCustomProperties()
Returns
Type Description
Map<String,Value>

getCustomPropertiesCount() (deprecated)

public int getCustomPropertiesCount()

The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];

Returns
Type Description
int

getCustomPropertiesMap() (deprecated)

public Map<String,Value> getCustomPropertiesMap()

The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];

Returns
Type Description
Map<String,Value>

getCustomPropertiesOrDefault(String key, Value defaultValue) (deprecated)

public Value getCustomPropertiesOrDefault(String key, Value defaultValue)

The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];

Parameters
Name Description
key String
defaultValue Value
Returns
Type Description
Value

getCustomPropertiesOrThrow(String key) (deprecated)

public Value getCustomPropertiesOrThrow(String key)

The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];

Parameter
Name Description
key String
Returns
Type Description
Value

getDefaultInstanceForType()

public RuntimeArtifact getDefaultInstanceForType()
Returns
Type Description
RuntimeArtifact

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMetadata()

public Struct getMetadata()

Properties of the Artifact.

.google.protobuf.Struct metadata = 6;

Returns
Type Description
Struct

The metadata.

getMetadataBuilder()

public Struct.Builder getMetadataBuilder()

Properties of the Artifact.

.google.protobuf.Struct metadata = 6;

Returns
Type Description
Builder

getMetadataOrBuilder()

public StructOrBuilder getMetadataOrBuilder()

Properties of the Artifact.

.google.protobuf.Struct metadata = 6;

Returns
Type Description
StructOrBuilder

getMutableCustomProperties() (deprecated)

public Map<String,Value> getMutableCustomProperties()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Value>

getMutableProperties() (deprecated)

public Map<String,Value> getMutableProperties()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,Value>

getName()

public String getName()

The name of an artifact.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of an artifact.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getProperties() (deprecated)

public Map<String,Value> getProperties()

Use #getPropertiesMap() instead.

Returns
Type Description
Map<String,Value>

getPropertiesCount() (deprecated)

public int getPropertiesCount()

The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];

Returns
Type Description
int

getPropertiesMap() (deprecated)

public Map<String,Value> getPropertiesMap()

The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];

Returns
Type Description
Map<String,Value>

getPropertiesOrDefault(String key, Value defaultValue) (deprecated)

public Value getPropertiesOrDefault(String key, Value defaultValue)

The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];

Parameters
Name Description
key String
defaultValue Value
Returns
Type Description
Value

getPropertiesOrThrow(String key) (deprecated)

public Value getPropertiesOrThrow(String key)

The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];

Parameter
Name Description
key String
Returns
Type Description
Value

getType()

public ArtifactTypeSchema getType()

The type of the artifact.

.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;

Returns
Type Description
ArtifactTypeSchema

The type.

getTypeBuilder()

public ArtifactTypeSchema.Builder getTypeBuilder()

The type of the artifact.

.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;

Returns
Type Description
ArtifactTypeSchema.Builder

getTypeOrBuilder()

public ArtifactTypeSchemaOrBuilder getTypeOrBuilder()

The type of the artifact.

.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;

Returns
Type Description
ArtifactTypeSchemaOrBuilder

getUri()

public String getUri()

The URI of the artifact.

string uri = 3;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

The URI of the artifact.

string uri = 3;

Returns
Type Description
ByteString

The bytes for uri.

hasMetadata()

public boolean hasMetadata()

Properties of the Artifact.

.google.protobuf.Struct metadata = 6;

Returns
Type Description
boolean

Whether the metadata field is set.

hasType()

public boolean hasType()

The type of the artifact.

.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;

Returns
Type Description
boolean

Whether the type field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RuntimeArtifact other)

public RuntimeArtifact.Builder mergeFrom(RuntimeArtifact other)
Parameter
Name Description
other RuntimeArtifact
Returns
Type Description
RuntimeArtifact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeArtifact.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RuntimeArtifact.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuntimeArtifact.Builder
Overrides

mergeMetadata(Struct value)

public RuntimeArtifact.Builder mergeMetadata(Struct value)

Properties of the Artifact.

.google.protobuf.Struct metadata = 6;

Parameter
Name Description
value Struct
Returns
Type Description
RuntimeArtifact.Builder

mergeType(ArtifactTypeSchema value)

public RuntimeArtifact.Builder mergeType(ArtifactTypeSchema value)

The type of the artifact.

.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;

Parameter
Name Description
value ArtifactTypeSchema
Returns
Type Description
RuntimeArtifact.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeArtifact.Builder
Overrides

putAllCustomProperties(Map<String,Value> values) (deprecated)

public RuntimeArtifact.Builder putAllCustomProperties(Map<String,Value> values)

The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];

Parameter
Name Description
values Map<String,Value>
Returns
Type Description
RuntimeArtifact.Builder

putAllProperties(Map<String,Value> values) (deprecated)

public RuntimeArtifact.Builder putAllProperties(Map<String,Value> values)

The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];

Parameter
Name Description
values Map<String,Value>
Returns
Type Description
RuntimeArtifact.Builder

putCustomProperties(String key, Value value) (deprecated)

public RuntimeArtifact.Builder putCustomProperties(String key, Value value)

The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];

Parameters
Name Description
key String
value Value
Returns
Type Description
RuntimeArtifact.Builder

putCustomPropertiesBuilderIfAbsent(String key) (deprecated)

public Value.Builder putCustomPropertiesBuilderIfAbsent(String key)

The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];

Parameter
Name Description
key String
Returns
Type Description
Value.Builder

putProperties(String key, Value value) (deprecated)

public RuntimeArtifact.Builder putProperties(String key, Value value)

The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];

Parameters
Name Description
key String
value Value
Returns
Type Description
RuntimeArtifact.Builder

putPropertiesBuilderIfAbsent(String key) (deprecated)

public Value.Builder putPropertiesBuilderIfAbsent(String key)

The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];

Parameter
Name Description
key String
Returns
Type Description
Value.Builder

removeCustomProperties(String key) (deprecated)

public RuntimeArtifact.Builder removeCustomProperties(String key)

The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> custom_properties = 5 [deprecated = true];

Parameter
Name Description
key String
Returns
Type Description
RuntimeArtifact.Builder

removeProperties(String key) (deprecated)

public RuntimeArtifact.Builder removeProperties(String key)

The properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead.

map<string, .google.cloud.aiplatform.v1beta1.Value> properties = 4 [deprecated = true];

Parameter
Name Description
key String
Returns
Type Description
RuntimeArtifact.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeArtifact.Builder
Overrides

setMetadata(Struct value)

public RuntimeArtifact.Builder setMetadata(Struct value)

Properties of the Artifact.

.google.protobuf.Struct metadata = 6;

Parameter
Name Description
value Struct
Returns
Type Description
RuntimeArtifact.Builder

setMetadata(Struct.Builder builderForValue)

public RuntimeArtifact.Builder setMetadata(Struct.Builder builderForValue)

Properties of the Artifact.

.google.protobuf.Struct metadata = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RuntimeArtifact.Builder

setName(String value)

public RuntimeArtifact.Builder setName(String value)

The name of an artifact.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RuntimeArtifact.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RuntimeArtifact.Builder setNameBytes(ByteString value)

The name of an artifact.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RuntimeArtifact.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuntimeArtifact.Builder
Overrides

setType(ArtifactTypeSchema value)

public RuntimeArtifact.Builder setType(ArtifactTypeSchema value)

The type of the artifact.

.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;

Parameter
Name Description
value ArtifactTypeSchema
Returns
Type Description
RuntimeArtifact.Builder

setType(ArtifactTypeSchema.Builder builderForValue)

public RuntimeArtifact.Builder setType(ArtifactTypeSchema.Builder builderForValue)

The type of the artifact.

.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;

Parameter
Name Description
builderForValue ArtifactTypeSchema.Builder
Returns
Type Description
RuntimeArtifact.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeArtifact.Builder
Overrides

setUri(String value)

public RuntimeArtifact.Builder setUri(String value)

The URI of the artifact.

string uri = 3;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
RuntimeArtifact.Builder

This builder for chaining.

setUriBytes(ByteString value)

public RuntimeArtifact.Builder setUriBytes(ByteString value)

The URI of the artifact.

string uri = 3;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
RuntimeArtifact.Builder

This builder for chaining.