public final class RuntimeArtifact extends GeneratedMessageV3 implements RuntimeArtifactOrBuilder
The definition of a runtime artifact.
Protobuf type google.cloud.aiplatform.v1beta1.RuntimeArtifact
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CUSTOM_PROPERTIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PROPERTIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static RuntimeArtifact getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RuntimeArtifact.Builder newBuilder()
public static RuntimeArtifact.Builder newBuilder(RuntimeArtifact prototype)
public static RuntimeArtifact parseDelimitedFrom(InputStream input)
public static RuntimeArtifact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RuntimeArtifact parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static RuntimeArtifact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RuntimeArtifact parseFrom(ByteString data)
public static RuntimeArtifact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RuntimeArtifact parseFrom(CodedInputStream input)
public static RuntimeArtifact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RuntimeArtifact parseFrom(InputStream input)
public static RuntimeArtifact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RuntimeArtifact parseFrom(ByteBuffer data)
public static RuntimeArtifact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RuntimeArtifact> parser()
Methods
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
|
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
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Map<String,Value> getCustomProperties()
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 |
|
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];
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 |
|
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 |
|
public RuntimeArtifact getDefaultInstanceForType()
public Struct getMetadata()
Properties of the Artifact.
.google.protobuf.Struct metadata = 6;
Returns |
Type |
Description |
Struct |
The metadata.
|
public StructOrBuilder getMetadataOrBuilder()
Properties of the Artifact.
.google.protobuf.Struct metadata = 6;
The name of an artifact.
string name = 1;
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
The name of an artifact.
string name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public Parser<RuntimeArtifact> getParserForType()
Overrides
public Map<String,Value> getProperties()
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 |
|
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];
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 |
|
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 |
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public ArtifactTypeSchema getType()
The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
public ArtifactTypeSchemaOrBuilder getTypeOrBuilder()
The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
The URI of the artifact.
string uri = 3;
Returns |
Type |
Description |
String |
The uri.
|
public ByteString getUriBytes()
The URI of the artifact.
string uri = 3;
Returns |
Type |
Description |
ByteString |
The bytes for uri.
|
public boolean hasMetadata()
Properties of the Artifact.
.google.protobuf.Struct metadata = 6;
Returns |
Type |
Description |
boolean |
Whether the metadata field is set.
|
The type of the artifact.
.google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
Returns |
Type |
Description |
boolean |
Whether the type field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public RuntimeArtifact.Builder newBuilderForType()
protected RuntimeArtifact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public RuntimeArtifact.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides