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 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.Builder<RuntimeArtifact.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
    • clear

      public RuntimeArtifact.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RuntimeArtifact.Builder>
    • getDefaultInstanceForType

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

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

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

      public RuntimeArtifact.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RuntimeArtifact.Builder>
    • mergeFrom

      public RuntimeArtifact.Builder mergeFrom(RuntimeArtifact other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RuntimeArtifact.Builder>
      Throws:
      IOException
    • 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.
    • setName

      public RuntimeArtifact.Builder setName(String value)
       The name of an artifact.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public RuntimeArtifact.Builder clearName()
       The name of an artifact.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public RuntimeArtifact.Builder setNameBytes(com.google.protobuf.ByteString value)
       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:
      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.
    • setType

       The type of the artifact.
       
      .google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
    • setType

      public RuntimeArtifact.Builder setType(ArtifactTypeSchema.Builder builderForValue)
       The type of the artifact.
       
      .google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
    • mergeType

      public RuntimeArtifact.Builder mergeType(ArtifactTypeSchema value)
       The type of the artifact.
       
      .google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
    • clearType

      public RuntimeArtifact.Builder clearType()
       The type of the artifact.
       
      .google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
    • getTypeBuilder

      public ArtifactTypeSchema.Builder getTypeBuilder()
       The type of the artifact.
       
      .google.cloud.aiplatform.v1beta1.ArtifactTypeSchema type = 2;
    • 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.
    • setUri

      public RuntimeArtifact.Builder setUri(String value)
       The URI of the artifact.
       
      string uri = 3;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public RuntimeArtifact.Builder clearUri()
       The URI of the artifact.
       
      string uri = 3;
      Returns:
      This builder for chaining.
    • setUriBytes

      public RuntimeArtifact.Builder setUriBytes(com.google.protobuf.ByteString value)
       The URI of the artifact.
       
      string uri = 3;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • 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
    • clearProperties

      @Deprecated public RuntimeArtifact.Builder clearProperties()
      Deprecated.
    • removeProperties

      @Deprecated public RuntimeArtifact.Builder removeProperties(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];
    • getMutableProperties

      @Deprecated public Map<String,Value> getMutableProperties()
      Deprecated.
      Use alternate mutation accessors instead.
    • putProperties

      @Deprecated public RuntimeArtifact.Builder putProperties(String key, Value value)
      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 public RuntimeArtifact.Builder putAllProperties(Map<String,Value> values)
      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 public Value.Builder putPropertiesBuilderIfAbsent(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];
    • 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
    • clearCustomProperties

      @Deprecated public RuntimeArtifact.Builder clearCustomProperties()
      Deprecated.
    • removeCustomProperties

      @Deprecated public RuntimeArtifact.Builder removeCustomProperties(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];
    • getMutableCustomProperties

      @Deprecated public Map<String,Value> getMutableCustomProperties()
      Deprecated.
      Use alternate mutation accessors instead.
    • putCustomProperties

      @Deprecated public RuntimeArtifact.Builder putCustomProperties(String key, Value value)
      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 public RuntimeArtifact.Builder putAllCustomProperties(Map<String,Value> values)
      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 public Value.Builder putCustomPropertiesBuilderIfAbsent(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];
    • 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.
    • setMetadata

      public RuntimeArtifact.Builder setMetadata(com.google.protobuf.Struct value)
       Properties of the Artifact.
       
      .google.protobuf.Struct metadata = 6;
    • setMetadata

      public RuntimeArtifact.Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue)
       Properties of the Artifact.
       
      .google.protobuf.Struct metadata = 6;
    • mergeMetadata

      public RuntimeArtifact.Builder mergeMetadata(com.google.protobuf.Struct value)
       Properties of the Artifact.
       
      .google.protobuf.Struct metadata = 6;
    • clearMetadata

      public RuntimeArtifact.Builder 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:
      getMetadataOrBuilder in interface RuntimeArtifactOrBuilder