Class Featurestore.OnlineServingConfig.Builder

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

public static final class Featurestore.OnlineServingConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<Featurestore.OnlineServingConfig.Builder> implements Featurestore.OnlineServingConfigOrBuilder
 OnlineServingConfig specifies the details for provisioning online serving
 resources.
 
Protobuf type google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig
  • Method Details

    • getDescriptor

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

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

      public Featurestore.OnlineServingConfig 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 Featurestore.OnlineServingConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Featurestore.OnlineServingConfig.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<Featurestore.OnlineServingConfig.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<Featurestore.OnlineServingConfig.Builder>
    • mergeFrom

      public Featurestore.OnlineServingConfig.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<Featurestore.OnlineServingConfig.Builder>
      Throws:
      IOException
    • getFixedNodeCount

      public int getFixedNodeCount()
       The number of nodes for the online store. The number of nodes doesn't
       scale automatically, but you can manually update the number of
       nodes. If set to 0, the featurestore will not have an
       online store and cannot be used for online serving.
       
      int32 fixed_node_count = 2;
      Specified by:
      getFixedNodeCount in interface Featurestore.OnlineServingConfigOrBuilder
      Returns:
      The fixedNodeCount.
    • setFixedNodeCount

      public Featurestore.OnlineServingConfig.Builder setFixedNodeCount(int value)
       The number of nodes for the online store. The number of nodes doesn't
       scale automatically, but you can manually update the number of
       nodes. If set to 0, the featurestore will not have an
       online store and cannot be used for online serving.
       
      int32 fixed_node_count = 2;
      Parameters:
      value - The fixedNodeCount to set.
      Returns:
      This builder for chaining.
    • clearFixedNodeCount

      public Featurestore.OnlineServingConfig.Builder clearFixedNodeCount()
       The number of nodes for the online store. The number of nodes doesn't
       scale automatically, but you can manually update the number of
       nodes. If set to 0, the featurestore will not have an
       online store and cannot be used for online serving.
       
      int32 fixed_node_count = 2;
      Returns:
      This builder for chaining.
    • hasScaling

      public boolean hasScaling()
       Online serving scaling configuration.
       Only one of `fixed_node_count` and `scaling` can be set. Setting one will
       reset the other.
       
      .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
      Specified by:
      hasScaling in interface Featurestore.OnlineServingConfigOrBuilder
      Returns:
      Whether the scaling field is set.
    • getScaling

       Online serving scaling configuration.
       Only one of `fixed_node_count` and `scaling` can be set. Setting one will
       reset the other.
       
      .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
      Specified by:
      getScaling in interface Featurestore.OnlineServingConfigOrBuilder
      Returns:
      The scaling.
    • setScaling

       Online serving scaling configuration.
       Only one of `fixed_node_count` and `scaling` can be set. Setting one will
       reset the other.
       
      .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
    • setScaling

       Online serving scaling configuration.
       Only one of `fixed_node_count` and `scaling` can be set. Setting one will
       reset the other.
       
      .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
    • mergeScaling

       Online serving scaling configuration.
       Only one of `fixed_node_count` and `scaling` can be set. Setting one will
       reset the other.
       
      .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
    • clearScaling

       Online serving scaling configuration.
       Only one of `fixed_node_count` and `scaling` can be set. Setting one will
       reset the other.
       
      .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
    • getScalingBuilder

       Online serving scaling configuration.
       Only one of `fixed_node_count` and `scaling` can be set. Setting one will
       reset the other.
       
      .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
    • getScalingOrBuilder

       Online serving scaling configuration.
       Only one of `fixed_node_count` and `scaling` can be set. Setting one will
       reset the other.
       
      .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
      Specified by:
      getScalingOrBuilder in interface Featurestore.OnlineServingConfigOrBuilder