Class FeatureSQL.Builder

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

public static final class FeatureSQL.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FeatureSQL.Builder> implements FeatureSQLOrBuilder
Protobuf type chalk.server.v1.FeatureSQL
  • 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<FeatureSQL.Builder>
    • clear

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

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

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

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

      public FeatureSQL.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<FeatureSQL.Builder>
    • setField

      public FeatureSQL.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<FeatureSQL.Builder>
    • clearField

      public FeatureSQL.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<FeatureSQL.Builder>
    • clearOneof

      public FeatureSQL.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<FeatureSQL.Builder>
    • setRepeatedField

      public FeatureSQL.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<FeatureSQL.Builder>
    • addRepeatedField

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

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

      public FeatureSQL.Builder mergeFrom(FeatureSQL other)
    • isInitialized

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

      public FeatureSQL.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<FeatureSQL.Builder>
      Throws:
      IOException
    • getId

      public long getId()
      int64 id = 1 [json_name = "id"];
      Specified by:
      getId in interface FeatureSQLOrBuilder
      Returns:
      The id.
    • setId

      public FeatureSQL.Builder setId(long value)
      int64 id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public FeatureSQL.Builder clearId()
      int64 id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • getEnvironmentId

      public String getEnvironmentId()
      string environment_id = 2 [json_name = "environmentId"];
      Specified by:
      getEnvironmentId in interface FeatureSQLOrBuilder
      Returns:
      The environmentId.
    • getEnvironmentIdBytes

      public com.google.protobuf.ByteString getEnvironmentIdBytes()
      string environment_id = 2 [json_name = "environmentId"];
      Specified by:
      getEnvironmentIdBytes in interface FeatureSQLOrBuilder
      Returns:
      The bytes for environmentId.
    • setEnvironmentId

      public FeatureSQL.Builder setEnvironmentId(String value)
      string environment_id = 2 [json_name = "environmentId"];
      Parameters:
      value - The environmentId to set.
      Returns:
      This builder for chaining.
    • clearEnvironmentId

      public FeatureSQL.Builder clearEnvironmentId()
      string environment_id = 2 [json_name = "environmentId"];
      Returns:
      This builder for chaining.
    • setEnvironmentIdBytes

      public FeatureSQL.Builder setEnvironmentIdBytes(com.google.protobuf.ByteString value)
      string environment_id = 2 [json_name = "environmentId"];
      Parameters:
      value - The bytes for environmentId to set.
      Returns:
      This builder for chaining.
    • hasDeploymentId

      public boolean hasDeploymentId()
      optional string deployment_id = 3 [json_name = "deploymentId"];
      Specified by:
      hasDeploymentId in interface FeatureSQLOrBuilder
      Returns:
      Whether the deploymentId field is set.
    • getDeploymentId

      public String getDeploymentId()
      optional string deployment_id = 3 [json_name = "deploymentId"];
      Specified by:
      getDeploymentId in interface FeatureSQLOrBuilder
      Returns:
      The deploymentId.
    • getDeploymentIdBytes

      public com.google.protobuf.ByteString getDeploymentIdBytes()
      optional string deployment_id = 3 [json_name = "deploymentId"];
      Specified by:
      getDeploymentIdBytes in interface FeatureSQLOrBuilder
      Returns:
      The bytes for deploymentId.
    • setDeploymentId

      public FeatureSQL.Builder setDeploymentId(String value)
      optional string deployment_id = 3 [json_name = "deploymentId"];
      Parameters:
      value - The deploymentId to set.
      Returns:
      This builder for chaining.
    • clearDeploymentId

      public FeatureSQL.Builder clearDeploymentId()
      optional string deployment_id = 3 [json_name = "deploymentId"];
      Returns:
      This builder for chaining.
    • setDeploymentIdBytes

      public FeatureSQL.Builder setDeploymentIdBytes(com.google.protobuf.ByteString value)
      optional string deployment_id = 3 [json_name = "deploymentId"];
      Parameters:
      value - The bytes for deploymentId to set.
      Returns:
      This builder for chaining.
    • getFqn

      public String getFqn()
      string fqn = 4 [json_name = "fqn"];
      Specified by:
      getFqn in interface FeatureSQLOrBuilder
      Returns:
      The fqn.
    • getFqnBytes

      public com.google.protobuf.ByteString getFqnBytes()
      string fqn = 4 [json_name = "fqn"];
      Specified by:
      getFqnBytes in interface FeatureSQLOrBuilder
      Returns:
      The bytes for fqn.
    • setFqn

      public FeatureSQL.Builder setFqn(String value)
      string fqn = 4 [json_name = "fqn"];
      Parameters:
      value - The fqn to set.
      Returns:
      This builder for chaining.
    • clearFqn

      public FeatureSQL.Builder clearFqn()
      string fqn = 4 [json_name = "fqn"];
      Returns:
      This builder for chaining.
    • setFqnBytes

      public FeatureSQL.Builder setFqnBytes(com.google.protobuf.ByteString value)
      string fqn = 4 [json_name = "fqn"];
      Parameters:
      value - The bytes for fqn to set.
      Returns:
      This builder for chaining.
    • getName

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

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

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

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

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

      public String getNamespace()
      string namespace = 6 [json_name = "namespace"];
      Specified by:
      getNamespace in interface FeatureSQLOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 6 [json_name = "namespace"];
      Specified by:
      getNamespaceBytes in interface FeatureSQLOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public FeatureSQL.Builder setNamespace(String value)
      string namespace = 6 [json_name = "namespace"];
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public FeatureSQL.Builder clearNamespace()
      string namespace = 6 [json_name = "namespace"];
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public FeatureSQL.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      string namespace = 6 [json_name = "namespace"];
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • hasMaxStaleness

      public boolean hasMaxStaleness()
      optional string max_staleness = 7 [json_name = "maxStaleness"];
      Specified by:
      hasMaxStaleness in interface FeatureSQLOrBuilder
      Returns:
      Whether the maxStaleness field is set.
    • getMaxStaleness

      public String getMaxStaleness()
      optional string max_staleness = 7 [json_name = "maxStaleness"];
      Specified by:
      getMaxStaleness in interface FeatureSQLOrBuilder
      Returns:
      The maxStaleness.
    • getMaxStalenessBytes

      public com.google.protobuf.ByteString getMaxStalenessBytes()
      optional string max_staleness = 7 [json_name = "maxStaleness"];
      Specified by:
      getMaxStalenessBytes in interface FeatureSQLOrBuilder
      Returns:
      The bytes for maxStaleness.
    • setMaxStaleness

      public FeatureSQL.Builder setMaxStaleness(String value)
      optional string max_staleness = 7 [json_name = "maxStaleness"];
      Parameters:
      value - The maxStaleness to set.
      Returns:
      This builder for chaining.
    • clearMaxStaleness

      public FeatureSQL.Builder clearMaxStaleness()
      optional string max_staleness = 7 [json_name = "maxStaleness"];
      Returns:
      This builder for chaining.
    • setMaxStalenessBytes

      public FeatureSQL.Builder setMaxStalenessBytes(com.google.protobuf.ByteString value)
      optional string max_staleness = 7 [json_name = "maxStaleness"];
      Parameters:
      value - The bytes for maxStaleness to set.
      Returns:
      This builder for chaining.
    • getEtlOfflineToOnline

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

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

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

      public boolean hasDescription()
      optional string description = 9 [json_name = "description"];
      Specified by:
      hasDescription in interface FeatureSQLOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
      optional string description = 9 [json_name = "description"];
      Specified by:
      getDescription in interface FeatureSQLOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      optional string description = 9 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface FeatureSQLOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public FeatureSQL.Builder setDescription(String value)
      optional string description = 9 [json_name = "description"];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public FeatureSQL.Builder clearDescription()
      optional string description = 9 [json_name = "description"];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public FeatureSQL.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      optional string description = 9 [json_name = "description"];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasOwner

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

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

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

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

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

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

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

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

      public String getTags(int index)
      repeated string tags = 11 [json_name = "tags"];
      Specified by:
      getTags in interface FeatureSQLOrBuilder
      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 = 11 [json_name = "tags"];
      Specified by:
      getTagsBytes in interface FeatureSQLOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

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

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

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

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

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

      public String getKindEnum()
      string kind_enum = 12 [json_name = "kindEnum"];
      Specified by:
      getKindEnum in interface FeatureSQLOrBuilder
      Returns:
      The kindEnum.
    • getKindEnumBytes

      public com.google.protobuf.ByteString getKindEnumBytes()
      string kind_enum = 12 [json_name = "kindEnum"];
      Specified by:
      getKindEnumBytes in interface FeatureSQLOrBuilder
      Returns:
      The bytes for kindEnum.
    • setKindEnum

      public FeatureSQL.Builder setKindEnum(String value)
      string kind_enum = 12 [json_name = "kindEnum"];
      Parameters:
      value - The kindEnum to set.
      Returns:
      This builder for chaining.
    • clearKindEnum

      public FeatureSQL.Builder clearKindEnum()
      string kind_enum = 12 [json_name = "kindEnum"];
      Returns:
      This builder for chaining.
    • setKindEnumBytes

      public FeatureSQL.Builder setKindEnumBytes(com.google.protobuf.ByteString value)
      string kind_enum = 12 [json_name = "kindEnum"];
      Parameters:
      value - The bytes for kindEnum to set.
      Returns:
      This builder for chaining.
    • getKind

      public String getKind()
      string kind = 13 [json_name = "kind"];
      Specified by:
      getKind in interface FeatureSQLOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
      string kind = 13 [json_name = "kind"];
      Specified by:
      getKindBytes in interface FeatureSQLOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public FeatureSQL.Builder setKind(String value)
      string kind = 13 [json_name = "kind"];
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public FeatureSQL.Builder clearKind()
      string kind = 13 [json_name = "kind"];
      Returns:
      This builder for chaining.
    • setKindBytes

      public FeatureSQL.Builder setKindBytes(com.google.protobuf.ByteString value)
      string kind = 13 [json_name = "kind"];
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • getWasReset

      public boolean getWasReset()
      bool was_reset = 14 [json_name = "wasReset"];
      Specified by:
      getWasReset in interface FeatureSQLOrBuilder
      Returns:
      The wasReset.
    • setWasReset

      public FeatureSQL.Builder setWasReset(boolean value)
      bool was_reset = 14 [json_name = "wasReset"];
      Parameters:
      value - The wasReset to set.
      Returns:
      This builder for chaining.
    • clearWasReset

      public FeatureSQL.Builder clearWasReset()
      bool was_reset = 14 [json_name = "wasReset"];
      Returns:
      This builder for chaining.
    • hasInternalVersion

      public boolean hasInternalVersion()
      optional int64 internal_version = 15 [json_name = "internalVersion"];
      Specified by:
      hasInternalVersion in interface FeatureSQLOrBuilder
      Returns:
      Whether the internalVersion field is set.
    • getInternalVersion

      public long getInternalVersion()
      optional int64 internal_version = 15 [json_name = "internalVersion"];
      Specified by:
      getInternalVersion in interface FeatureSQLOrBuilder
      Returns:
      The internalVersion.
    • setInternalVersion

      public FeatureSQL.Builder setInternalVersion(long value)
      optional int64 internal_version = 15 [json_name = "internalVersion"];
      Parameters:
      value - The internalVersion to set.
      Returns:
      This builder for chaining.
    • clearInternalVersion

      public FeatureSQL.Builder clearInternalVersion()
      optional int64 internal_version = 15 [json_name = "internalVersion"];
      Returns:
      This builder for chaining.
    • getIsSingleton

      public boolean getIsSingleton()
        string created_at = 14;
        string updated_at = 15;
       
      bool is_singleton = 16 [json_name = "isSingleton"];
      Specified by:
      getIsSingleton in interface FeatureSQLOrBuilder
      Returns:
      The isSingleton.
    • setIsSingleton

      public FeatureSQL.Builder setIsSingleton(boolean value)
        string created_at = 14;
        string updated_at = 15;
       
      bool is_singleton = 16 [json_name = "isSingleton"];
      Parameters:
      value - The isSingleton to set.
      Returns:
      This builder for chaining.
    • clearIsSingleton

      public FeatureSQL.Builder clearIsSingleton()
        string created_at = 14;
        string updated_at = 15;
       
      bool is_singleton = 16 [json_name = "isSingleton"];
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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