Class DeployRequest.DeployConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployRequest.DeployConfig.Builder>
com.google.cloud.aiplatform.v1.DeployRequest.DeployConfig.Builder
All Implemented Interfaces:
DeployRequest.DeployConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DeployRequest.DeployConfig

public static final class DeployRequest.DeployConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeployRequest.DeployConfig.Builder> implements DeployRequest.DeployConfigOrBuilder
 The deploy config to use for the deployment.
 
Protobuf type google.cloud.aiplatform.v1.DeployRequest.DeployConfig
  • 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<DeployRequest.DeployConfig.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DeployRequest.DeployConfig.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<DeployRequest.DeployConfig.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<DeployRequest.DeployConfig.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public DeployRequest.DeployConfig.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<DeployRequest.DeployConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeployRequest.DeployConfig.Builder>
    • mergeFrom

      public DeployRequest.DeployConfig.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<DeployRequest.DeployConfig.Builder>
      Throws:
      IOException
    • hasDedicatedResources

      public boolean hasDedicatedResources()
       Optional. The dedicated resources to use for the endpoint. If not set,
       the default resources will be used.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDedicatedResources in interface DeployRequest.DeployConfigOrBuilder
      Returns:
      Whether the dedicatedResources field is set.
    • getDedicatedResources

      public DedicatedResources getDedicatedResources()
       Optional. The dedicated resources to use for the endpoint. If not set,
       the default resources will be used.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDedicatedResources in interface DeployRequest.DeployConfigOrBuilder
      Returns:
      The dedicatedResources.
    • setDedicatedResources

      public DeployRequest.DeployConfig.Builder setDedicatedResources(DedicatedResources value)
       Optional. The dedicated resources to use for the endpoint. If not set,
       the default resources will be used.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setDedicatedResources

      public DeployRequest.DeployConfig.Builder setDedicatedResources(DedicatedResources.Builder builderForValue)
       Optional. The dedicated resources to use for the endpoint. If not set,
       the default resources will be used.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDedicatedResources

      public DeployRequest.DeployConfig.Builder mergeDedicatedResources(DedicatedResources value)
       Optional. The dedicated resources to use for the endpoint. If not set,
       the default resources will be used.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearDedicatedResources

      public DeployRequest.DeployConfig.Builder clearDedicatedResources()
       Optional. The dedicated resources to use for the endpoint. If not set,
       the default resources will be used.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getDedicatedResourcesBuilder

      public DedicatedResources.Builder getDedicatedResourcesBuilder()
       Optional. The dedicated resources to use for the endpoint. If not set,
       the default resources will be used.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getDedicatedResourcesOrBuilder

      public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()
       Optional. The dedicated resources to use for the endpoint. If not set,
       the default resources will be used.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDedicatedResourcesOrBuilder in interface DeployRequest.DeployConfigOrBuilder
    • getFastTryoutEnabled

      public boolean getFastTryoutEnabled()
       Optional. If true, enable the QMT fast tryout feature for this model if
       possible.
       
      bool fast_tryout_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFastTryoutEnabled in interface DeployRequest.DeployConfigOrBuilder
      Returns:
      The fastTryoutEnabled.
    • setFastTryoutEnabled

      public DeployRequest.DeployConfig.Builder setFastTryoutEnabled(boolean value)
       Optional. If true, enable the QMT fast tryout feature for this model if
       possible.
       
      bool fast_tryout_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The fastTryoutEnabled to set.
      Returns:
      This builder for chaining.
    • clearFastTryoutEnabled

      public DeployRequest.DeployConfig.Builder clearFastTryoutEnabled()
       Optional. If true, enable the QMT fast tryout feature for this model if
       possible.
       
      bool fast_tryout_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getSystemLabelsCount

      public int getSystemLabelsCount()
      Description copied from interface: DeployRequest.DeployConfigOrBuilder
       Optional. System labels for Model Garden deployments.
       These labels are managed by Google and for tracking purposes only.
       
      map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSystemLabelsCount in interface DeployRequest.DeployConfigOrBuilder
    • containsSystemLabels

      public boolean containsSystemLabels(String key)
       Optional. System labels for Model Garden deployments.
       These labels are managed by Google and for tracking purposes only.
       
      map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsSystemLabels in interface DeployRequest.DeployConfigOrBuilder
    • getSystemLabels

      @Deprecated public Map<String,String> getSystemLabels()
      Deprecated.
      Specified by:
      getSystemLabels in interface DeployRequest.DeployConfigOrBuilder
    • getSystemLabelsMap

      public Map<String,String> getSystemLabelsMap()
       Optional. System labels for Model Garden deployments.
       These labels are managed by Google and for tracking purposes only.
       
      map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSystemLabelsMap in interface DeployRequest.DeployConfigOrBuilder
    • getSystemLabelsOrDefault

      public String getSystemLabelsOrDefault(String key, String defaultValue)
       Optional. System labels for Model Garden deployments.
       These labels are managed by Google and for tracking purposes only.
       
      map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSystemLabelsOrDefault in interface DeployRequest.DeployConfigOrBuilder
    • getSystemLabelsOrThrow

      public String getSystemLabelsOrThrow(String key)
       Optional. System labels for Model Garden deployments.
       These labels are managed by Google and for tracking purposes only.
       
      map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSystemLabelsOrThrow in interface DeployRequest.DeployConfigOrBuilder
    • clearSystemLabels

      public DeployRequest.DeployConfig.Builder clearSystemLabels()
    • removeSystemLabels

      public DeployRequest.DeployConfig.Builder removeSystemLabels(String key)
       Optional. System labels for Model Garden deployments.
       These labels are managed by Google and for tracking purposes only.
       
      map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableSystemLabels

      @Deprecated public Map<String,String> getMutableSystemLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putSystemLabels

      public DeployRequest.DeployConfig.Builder putSystemLabels(String key, String value)
       Optional. System labels for Model Garden deployments.
       These labels are managed by Google and for tracking purposes only.
       
      map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    • putAllSystemLabels

      public DeployRequest.DeployConfig.Builder putAllSystemLabels(Map<String,String> values)
       Optional. System labels for Model Garden deployments.
       These labels are managed by Google and for tracking purposes only.
       
      map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];