Class FeatureSet.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<FeatureSet.Builder>
ai.chalk.protos.chalk.graph.v1.FeatureSet.Builder
All Implemented Interfaces:
FeatureSetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FeatureSet

public static final class FeatureSet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FeatureSet.Builder> implements FeatureSetOrBuilder
Protobuf type chalk.graph.v1.FeatureSet
  • Method Details

    • 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<FeatureSet.Builder>
    • clear

      public FeatureSet.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.GeneratedMessageV3.Builder<FeatureSet.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<FeatureSet.Builder>
    • getDefaultInstanceForType

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

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

      public FeatureSet buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public FeatureSet.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSet.Builder>
    • setField

      public FeatureSet.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSet.Builder>
    • clearField

      public FeatureSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSet.Builder>
    • clearOneof

      public FeatureSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSet.Builder>
    • setRepeatedField

      public FeatureSet.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSet.Builder>
    • addRepeatedField

      public FeatureSet.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSet.Builder>
    • mergeFrom

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

      public FeatureSet.Builder mergeFrom(FeatureSet other)
    • isInitialized

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

      public FeatureSet.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<FeatureSet.Builder>
      Throws:
      IOException
    • getName

      public String getName()
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface FeatureSetOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface FeatureSetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public FeatureSet.Builder setName(String value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public FeatureSet.Builder clearName()
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public FeatureSet.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getFeaturesList

      public List<FeatureType> getFeaturesList()
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
      Specified by:
      getFeaturesList in interface FeatureSetOrBuilder
    • getFeaturesCount

      public int getFeaturesCount()
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
      Specified by:
      getFeaturesCount in interface FeatureSetOrBuilder
    • getFeatures

      public FeatureType getFeatures(int index)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
      Specified by:
      getFeatures in interface FeatureSetOrBuilder
    • setFeatures

      public FeatureSet.Builder setFeatures(int index, FeatureType value)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • setFeatures

      public FeatureSet.Builder setFeatures(int index, FeatureType.Builder builderForValue)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • addFeatures

      public FeatureSet.Builder addFeatures(FeatureType value)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • addFeatures

      public FeatureSet.Builder addFeatures(int index, FeatureType value)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • addFeatures

      public FeatureSet.Builder addFeatures(FeatureType.Builder builderForValue)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • addFeatures

      public FeatureSet.Builder addFeatures(int index, FeatureType.Builder builderForValue)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • addAllFeatures

      public FeatureSet.Builder addAllFeatures(Iterable<? extends FeatureType> values)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • clearFeatures

      public FeatureSet.Builder clearFeatures()
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • removeFeatures

      public FeatureSet.Builder removeFeatures(int index)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • getFeaturesBuilder

      public FeatureType.Builder getFeaturesBuilder(int index)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • getFeaturesOrBuilder

      public FeatureTypeOrBuilder getFeaturesOrBuilder(int index)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
      Specified by:
      getFeaturesOrBuilder in interface FeatureSetOrBuilder
    • getFeaturesOrBuilderList

      public List<? extends FeatureTypeOrBuilder> getFeaturesOrBuilderList()
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
      Specified by:
      getFeaturesOrBuilderList in interface FeatureSetOrBuilder
    • addFeaturesBuilder

      public FeatureType.Builder addFeaturesBuilder()
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • addFeaturesBuilder

      public FeatureType.Builder addFeaturesBuilder(int index)
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • getFeaturesBuilderList

      public List<FeatureType.Builder> getFeaturesBuilderList()
      repeated .chalk.graph.v1.FeatureType features = 2 [json_name = "features"];
    • hasMaxStalenessDuration

      public boolean hasMaxStalenessDuration()
      .google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];
      Specified by:
      hasMaxStalenessDuration in interface FeatureSetOrBuilder
      Returns:
      Whether the maxStalenessDuration field is set.
    • getMaxStalenessDuration

      public com.google.protobuf.Duration getMaxStalenessDuration()
      .google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];
      Specified by:
      getMaxStalenessDuration in interface FeatureSetOrBuilder
      Returns:
      The maxStalenessDuration.
    • setMaxStalenessDuration

      public FeatureSet.Builder setMaxStalenessDuration(com.google.protobuf.Duration value)
      .google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];
    • setMaxStalenessDuration

      public FeatureSet.Builder setMaxStalenessDuration(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];
    • mergeMaxStalenessDuration

      public FeatureSet.Builder mergeMaxStalenessDuration(com.google.protobuf.Duration value)
      .google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];
    • clearMaxStalenessDuration

      public FeatureSet.Builder clearMaxStalenessDuration()
      .google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];
    • getMaxStalenessDurationBuilder

      public com.google.protobuf.Duration.Builder getMaxStalenessDurationBuilder()
      .google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];
    • getMaxStalenessDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getMaxStalenessDurationOrBuilder()
      .google.protobuf.Duration max_staleness_duration = 3 [json_name = "maxStalenessDuration"];
      Specified by:
      getMaxStalenessDurationOrBuilder in interface FeatureSetOrBuilder
    • getIsSingleton

      public boolean getIsSingleton()
      bool is_singleton = 4 [json_name = "isSingleton"];
      Specified by:
      getIsSingleton in interface FeatureSetOrBuilder
      Returns:
      The isSingleton.
    • setIsSingleton

      public FeatureSet.Builder setIsSingleton(boolean value)
      bool is_singleton = 4 [json_name = "isSingleton"];
      Parameters:
      value - The isSingleton to set.
      Returns:
      This builder for chaining.
    • clearIsSingleton

      public FeatureSet.Builder clearIsSingleton()
      bool is_singleton = 4 [json_name = "isSingleton"];
      Returns:
      This builder for chaining.
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
      repeated string tags = 5 [json_name = "tags"];
      Specified by:
      getTagsList in interface FeatureSetOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
      repeated string tags = 5 [json_name = "tags"];
      Specified by:
      getTagsCount in interface FeatureSetOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
      repeated string tags = 5 [json_name = "tags"];
      Specified by:
      getTags in interface FeatureSetOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
      repeated string tags = 5 [json_name = "tags"];
      Specified by:
      getTagsBytes in interface FeatureSetOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public FeatureSet.Builder setTags(int index, String value)
      repeated string tags = 5 [json_name = "tags"];
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

      public FeatureSet.Builder addTags(String value)
      repeated string tags = 5 [json_name = "tags"];
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

      public FeatureSet.Builder addAllTags(Iterable<String> values)
      repeated string tags = 5 [json_name = "tags"];
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

      public FeatureSet.Builder clearTags()
      repeated string tags = 5 [json_name = "tags"];
      Returns:
      This builder for chaining.
    • addTagsBytes

      public FeatureSet.Builder addTagsBytes(com.google.protobuf.ByteString value)
      repeated string tags = 5 [json_name = "tags"];
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.
    • hasOwner

      public boolean hasOwner()
      optional string owner = 6 [json_name = "owner"];
      Specified by:
      hasOwner in interface FeatureSetOrBuilder
      Returns:
      Whether the owner field is set.
    • getOwner

      public String getOwner()
      optional string owner = 6 [json_name = "owner"];
      Specified by:
      getOwner in interface FeatureSetOrBuilder
      Returns:
      The owner.
    • getOwnerBytes

      public com.google.protobuf.ByteString getOwnerBytes()
      optional string owner = 6 [json_name = "owner"];
      Specified by:
      getOwnerBytes in interface FeatureSetOrBuilder
      Returns:
      The bytes for owner.
    • setOwner

      public FeatureSet.Builder setOwner(String value)
      optional string owner = 6 [json_name = "owner"];
      Parameters:
      value - The owner to set.
      Returns:
      This builder for chaining.
    • clearOwner

      public FeatureSet.Builder clearOwner()
      optional string owner = 6 [json_name = "owner"];
      Returns:
      This builder for chaining.
    • setOwnerBytes

      public FeatureSet.Builder setOwnerBytes(com.google.protobuf.ByteString value)
      optional string owner = 6 [json_name = "owner"];
      Parameters:
      value - The bytes for owner to set.
      Returns:
      This builder for chaining.
    • hasDoc

      public boolean hasDoc()
       The docstring of the class on which the features are defined.
       
      optional string doc = 7 [json_name = "doc"];
      Specified by:
      hasDoc in interface FeatureSetOrBuilder
      Returns:
      Whether the doc field is set.
    • getDoc

      public String getDoc()
       The docstring of the class on which the features are defined.
       
      optional string doc = 7 [json_name = "doc"];
      Specified by:
      getDoc in interface FeatureSetOrBuilder
      Returns:
      The doc.
    • getDocBytes

      public com.google.protobuf.ByteString getDocBytes()
       The docstring of the class on which the features are defined.
       
      optional string doc = 7 [json_name = "doc"];
      Specified by:
      getDocBytes in interface FeatureSetOrBuilder
      Returns:
      The bytes for doc.
    • setDoc

      public FeatureSet.Builder setDoc(String value)
       The docstring of the class on which the features are defined.
       
      optional string doc = 7 [json_name = "doc"];
      Parameters:
      value - The doc to set.
      Returns:
      This builder for chaining.
    • clearDoc

      public FeatureSet.Builder clearDoc()
       The docstring of the class on which the features are defined.
       
      optional string doc = 7 [json_name = "doc"];
      Returns:
      This builder for chaining.
    • setDocBytes

      public FeatureSet.Builder setDocBytes(com.google.protobuf.ByteString value)
       The docstring of the class on which the features are defined.
       
      optional string doc = 7 [json_name = "doc"];
      Parameters:
      value - The bytes for doc to set.
      Returns:
      This builder for chaining.
    • hasEtlOfflineToOnline

      public boolean hasEtlOfflineToOnline()
      optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];
      Specified by:
      hasEtlOfflineToOnline in interface FeatureSetOrBuilder
      Returns:
      Whether the etlOfflineToOnline field is set.
    • getEtlOfflineToOnline

      public boolean getEtlOfflineToOnline()
      optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];
      Specified by:
      getEtlOfflineToOnline in interface FeatureSetOrBuilder
      Returns:
      The etlOfflineToOnline.
    • setEtlOfflineToOnline

      public FeatureSet.Builder setEtlOfflineToOnline(boolean value)
      optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];
      Parameters:
      value - The etlOfflineToOnline to set.
      Returns:
      This builder for chaining.
    • clearEtlOfflineToOnline

      public FeatureSet.Builder clearEtlOfflineToOnline()
      optional bool etl_offline_to_online = 8 [json_name = "etlOfflineToOnline"];
      Returns:
      This builder for chaining.
    • hasClassPath

      public boolean hasClassPath()
      optional string class_path = 9 [json_name = "classPath"];
      Specified by:
      hasClassPath in interface FeatureSetOrBuilder
      Returns:
      Whether the classPath field is set.
    • getClassPath

      public String getClassPath()
      optional string class_path = 9 [json_name = "classPath"];
      Specified by:
      getClassPath in interface FeatureSetOrBuilder
      Returns:
      The classPath.
    • getClassPathBytes

      public com.google.protobuf.ByteString getClassPathBytes()
      optional string class_path = 9 [json_name = "classPath"];
      Specified by:
      getClassPathBytes in interface FeatureSetOrBuilder
      Returns:
      The bytes for classPath.
    • setClassPath

      public FeatureSet.Builder setClassPath(String value)
      optional string class_path = 9 [json_name = "classPath"];
      Parameters:
      value - The classPath to set.
      Returns:
      This builder for chaining.
    • clearClassPath

      public FeatureSet.Builder clearClassPath()
      optional string class_path = 9 [json_name = "classPath"];
      Returns:
      This builder for chaining.
    • setClassPathBytes

      public FeatureSet.Builder setClassPathBytes(com.google.protobuf.ByteString value)
      optional string class_path = 9 [json_name = "classPath"];
      Parameters:
      value - The bytes for classPath to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final FeatureSet.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<FeatureSet.Builder>
    • mergeUnknownFields

      public final FeatureSet.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<FeatureSet.Builder>