Class RuntimeArtifact

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.RuntimeArtifact
All Implemented Interfaces:
RuntimeArtifactOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RuntimeArtifact extends com.google.protobuf.GeneratedMessage implements RuntimeArtifactOrBuilder
 The definition of a runtime artifact.
 
Protobuf type google.cloud.aiplatform.v1beta1.RuntimeArtifact
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       The name of an artifact.
       
      string name = 1;
      Specified by:
      getName in interface RuntimeArtifactOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of an artifact.
       
      string name = 1;
      Specified by:
      getNameBytes in interface RuntimeArtifactOrBuilder
      Returns:
      The bytes for name.
    • hasType

      public boolean hasType()
       The type of the artifact.
       
      .google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
      Specified by:
      hasType in interface RuntimeArtifactOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public ArtifactTypeSchema getType()
       The type of the artifact.
       
      .google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
      Specified by:
      getType in interface RuntimeArtifactOrBuilder
      Returns:
      The type.
    • getTypeOrBuilder

      public ArtifactTypeSchemaOrBuilder getTypeOrBuilder()
       The type of the artifact.
       
      .google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
      Specified by:
      getTypeOrBuilder in interface RuntimeArtifactOrBuilder
    • getUri

      public String getUri()
       The URI of the artifact.
       
      string uri = 3;
      Specified by:
      getUri in interface RuntimeArtifactOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       The URI of the artifact.
       
      string uri = 3;
      Specified by:
      getUriBytes in interface RuntimeArtifactOrBuilder
      Returns:
      The bytes for uri.
    • getPropertiesCount

      @Deprecated public int getPropertiesCount()
      Deprecated.
      Description copied from interface: RuntimeArtifactOrBuilder
       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:
      getPropertiesCount in interface RuntimeArtifactOrBuilder
    • containsProperties

      @Deprecated public boolean containsProperties(String key)
      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:
      containsProperties in interface RuntimeArtifactOrBuilder
    • getProperties

      @Deprecated public Map<String,Value> getProperties()
      Deprecated.
      Use getPropertiesMap() instead.
      Specified by:
      getProperties in interface RuntimeArtifactOrBuilder
    • getPropertiesMap

      @Deprecated public Map<String,Value> 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:
      getPropertiesMap in interface RuntimeArtifactOrBuilder
    • getPropertiesOrDefault

      @Deprecated public Value getPropertiesOrDefault(String key, Value defaultValue)
      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:
      getPropertiesOrDefault in interface RuntimeArtifactOrBuilder
    • getPropertiesOrThrow

      @Deprecated public Value getPropertiesOrThrow(String key)
      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:
      getPropertiesOrThrow in interface RuntimeArtifactOrBuilder
    • getCustomPropertiesCount

      @Deprecated public int getCustomPropertiesCount()
      Deprecated.
      Description copied from interface: RuntimeArtifactOrBuilder
       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:
      getCustomPropertiesCount in interface RuntimeArtifactOrBuilder
    • containsCustomProperties

      @Deprecated public boolean containsCustomProperties(String key)
      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:
      containsCustomProperties in interface RuntimeArtifactOrBuilder
    • getCustomProperties

      @Deprecated public Map<String,Value> getCustomProperties()
      Deprecated.
      Specified by:
      getCustomProperties in interface RuntimeArtifactOrBuilder
    • getCustomPropertiesMap

      @Deprecated public Map<String,Value> 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:
      getCustomPropertiesMap in interface RuntimeArtifactOrBuilder
    • getCustomPropertiesOrDefault

      @Deprecated public Value getCustomPropertiesOrDefault(String key, Value defaultValue)
      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:
      getCustomPropertiesOrDefault in interface RuntimeArtifactOrBuilder
    • getCustomPropertiesOrThrow

      @Deprecated public Value getCustomPropertiesOrThrow(String key)
      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:
      getCustomPropertiesOrThrow in interface RuntimeArtifactOrBuilder
    • hasMetadata

      public boolean hasMetadata()
       Properties of the Artifact.
       
      .google.protobuf.Struct metadata = 6;
      Specified by:
      hasMetadata in interface RuntimeArtifactOrBuilder
      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:
      getMetadata in interface RuntimeArtifactOrBuilder
      Returns:
      The metadata.
    • getMetadataOrBuilder

      public com.google.protobuf.StructOrBuilder getMetadataOrBuilder()
       Properties of the Artifact.
       
      .google.protobuf.Struct metadata = 6;
      Specified by:
      getMetadataOrBuilder in interface RuntimeArtifactOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RuntimeArtifact parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeArtifact parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeArtifact parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeArtifact parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeArtifact parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RuntimeArtifact parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RuntimeArtifact parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RuntimeArtifact parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RuntimeArtifact parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RuntimeArtifact parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RuntimeArtifact parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RuntimeArtifact.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RuntimeArtifact.Builder newBuilder()
    • newBuilder

      public static RuntimeArtifact.Builder newBuilder(RuntimeArtifact prototype)
    • toBuilder

      public RuntimeArtifact.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RuntimeArtifact.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RuntimeArtifact getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RuntimeArtifact> parser()
    • getParserForType

      public com.google.protobuf.Parser<RuntimeArtifact> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RuntimeArtifact getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder