Class SparseFeature.IndexFeature.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<SparseFeature.IndexFeature.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<SparseFeature.IndexFeature.Builder>
      • getDefaultInstanceForType

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

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

        public SparseFeature.IndexFeature 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<SparseFeature.IndexFeature.Builder>
      • mergeFrom

        public SparseFeature.IndexFeature.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<SparseFeature.IndexFeature.Builder>
        Throws:
        IOException
      • hasName

        public boolean hasName()
         Name of the index-feature. This should be a reference to an existing
         feature in the schema.
         
        optional string name = 1;
        Specified by:
        hasName in interface SparseFeature.IndexFeatureOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         Name of the index-feature. This should be a reference to an existing
         feature in the schema.
         
        optional string name = 1;
        Specified by:
        getName in interface SparseFeature.IndexFeatureOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name of the index-feature. This should be a reference to an existing
         feature in the schema.
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface SparseFeature.IndexFeatureOrBuilder
        Returns:
        The bytes for name.
      • setName

        public SparseFeature.IndexFeature.Builder setName​(String value)
         Name of the index-feature. This should be a reference to an existing
         feature in the schema.
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public SparseFeature.IndexFeature.Builder clearName()
         Name of the index-feature. This should be a reference to an existing
         feature in the schema.
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public SparseFeature.IndexFeature.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the index-feature. This should be a reference to an existing
         feature in the schema.
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final SparseFeature.IndexFeature.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.IndexFeature.Builder>
      • mergeUnknownFields

        public final SparseFeature.IndexFeature.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SparseFeature.IndexFeature.Builder>