Class RuntimeArtifact (3.55.0)

public final class RuntimeArtifact extends GeneratedMessageV3 implements RuntimeArtifactOrBuilder

The definition of a runtime artifact.

Protobuf type google.cloud.aiplatform.v1beta1.RuntimeArtifact

Static Fields

CUSTOM_PROPERTIES_FIELD_NUMBER

public static final int CUSTOM_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PROPERTIES_FIELD_NUMBER

public static final int PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RuntimeArtifact getDefaultInstance()
Returns
Type Description
RuntimeArtifact

getDescriptor()

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

newBuilder()

public static RuntimeArtifact.Builder newBuilder()
Returns
Type Description
RuntimeArtifact.Builder

newBuilder(RuntimeArtifact prototype)

public static RuntimeArtifact.Builder newBuilder(RuntimeArtifact prototype)
Parameter
Name Description
prototype RuntimeArtifact
Returns
Type Description
RuntimeArtifact.Builder

parseDelimitedFrom(InputStream input)

public static RuntimeArtifact parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeArtifact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RuntimeArtifact parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RuntimeArtifact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RuntimeArtifact parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RuntimeArtifact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RuntimeArtifact parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeArtifact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RuntimeArtifact parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RuntimeArtifact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RuntimeArtifact parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RuntimeArtifact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeArtifact
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RuntimeArtifact> parser()
Returns
Type Description
Parser<RuntimeArtifact>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

getMetadata()

public Struct getMetadata()

Properties of the Artifact.

.google.protobuf.Struct metadata = 6;

Returns
Type Description
Struct

The metadata.

getMetadataOrBuilder()

public StructOrBuilder getMetadataOrBuilder()

Properties of the Artifact.

.google.protobuf.Struct metadata = 6;

Returns
Type Description
StructOrBuilder

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.

getParserForType()

public Parser<RuntimeArtifact> getParserForType()
Returns
Type Description
Parser<RuntimeArtifact>
Overrides

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public ArtifactTypeSchema getType()

The type of the artifact.

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

Returns
Type Description
ArtifactTypeSchema

The type.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RuntimeArtifact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RuntimeArtifact.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException