Class Featurestore.OnlineServingConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Featurestore.OnlineServingConfig.Builder>
      • 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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
        Specified by:
        hasScaling in interface Featurestore.OnlineServingConfigOrBuilder
        Returns:
        Whether the scaling field is set.
      • clearScaling

        public Featurestore.OnlineServingConfig.Builder 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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;
      • getScalingBuilder

        public Featurestore.OnlineServingConfig.Scaling.Builder 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.v1beta1.Featurestore.OnlineServingConfig.Scaling scaling = 4;