Class ServingAPIProto.FeatureReference.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<ServingAPIProto.FeatureReference.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<ServingAPIProto.FeatureReference.Builder>
      • getDefaultInstanceForType

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

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

        public ServingAPIProto.FeatureReference 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<ServingAPIProto.FeatureReference.Builder>
      • getProjectBytes

        public com.google.protobuf.ByteString getProjectBytes()
         Project name. This field is optional, if unspecified will default to 'default'.
         
        string project = 1;
        Specified by:
        getProjectBytes in interface ServingAPIProto.FeatureReferenceOrBuilder
        Returns:
        The bytes for project.
      • setProject

        public ServingAPIProto.FeatureReference.Builder setProject​(String value)
         Project name. This field is optional, if unspecified will default to 'default'.
         
        string project = 1;
        Parameters:
        value - The project to set.
        Returns:
        This builder for chaining.
      • clearProject

        public ServingAPIProto.FeatureReference.Builder clearProject()
         Project name. This field is optional, if unspecified will default to 'default'.
         
        string project = 1;
        Returns:
        This builder for chaining.
      • setProjectBytes

        public ServingAPIProto.FeatureReference.Builder setProjectBytes​(com.google.protobuf.ByteString value)
         Project name. This field is optional, if unspecified will default to 'default'.
         
        string project = 1;
        Parameters:
        value - The bytes for project to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public ServingAPIProto.FeatureReference.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Feature name
         
        string name = 2;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getFeatureSet

        public String getFeatureSet()
         Feature set name specifying the feature set of this referenced feature.
         This field is optional if the feature referenced is unique across the project
         in which case the feature set would be automatically infered
         
        string feature_set = 5;
        Specified by:
        getFeatureSet in interface ServingAPIProto.FeatureReferenceOrBuilder
        Returns:
        The featureSet.
      • getFeatureSetBytes

        public com.google.protobuf.ByteString getFeatureSetBytes()
         Feature set name specifying the feature set of this referenced feature.
         This field is optional if the feature referenced is unique across the project
         in which case the feature set would be automatically infered
         
        string feature_set = 5;
        Specified by:
        getFeatureSetBytes in interface ServingAPIProto.FeatureReferenceOrBuilder
        Returns:
        The bytes for featureSet.
      • setFeatureSet

        public ServingAPIProto.FeatureReference.Builder setFeatureSet​(String value)
         Feature set name specifying the feature set of this referenced feature.
         This field is optional if the feature referenced is unique across the project
         in which case the feature set would be automatically infered
         
        string feature_set = 5;
        Parameters:
        value - The featureSet to set.
        Returns:
        This builder for chaining.
      • clearFeatureSet

        public ServingAPIProto.FeatureReference.Builder clearFeatureSet()
         Feature set name specifying the feature set of this referenced feature.
         This field is optional if the feature referenced is unique across the project
         in which case the feature set would be automatically infered
         
        string feature_set = 5;
        Returns:
        This builder for chaining.
      • setFeatureSetBytes

        public ServingAPIProto.FeatureReference.Builder setFeatureSetBytes​(com.google.protobuf.ByteString value)
         Feature set name specifying the feature set of this referenced feature.
         This field is optional if the feature referenced is unique across the project
         in which case the feature set would be automatically infered
         
        string feature_set = 5;
        Parameters:
        value - The bytes for featureSet to set.
        Returns:
        This builder for chaining.