Class Meta.Tenant.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Meta.Tenant.Builder>
io.dingodb.meta.Meta.Tenant.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Meta.TenantOrBuilder, Cloneable
Enclosing class:
Meta.Tenant

public static final class Meta.Tenant.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Meta.Tenant.Builder> implements Meta.TenantOrBuilder
 Tenant
 
Protobuf type dingodb.pb.meta.Tenant
  • 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<Meta.Tenant.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public Meta.Tenant.Builder mergeFrom(Meta.Tenant other)
    • isInitialized

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

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

      public long getId()
       this is the tenant id, it's updated by coordinator
       
      int64 id = 1;
      Specified by:
      getId in interface Meta.TenantOrBuilder
      Returns:
      The id.
    • setId

      public Meta.Tenant.Builder setId(long value)
       this is the tenant id, it's updated by coordinator
       
      int64 id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Meta.Tenant.Builder clearId()
       this is the tenant id, it's updated by coordinator
       
      int64 id = 1;
      Returns:
      This builder for chaining.
    • getName

      public String getName()
      string name = 2;
      Specified by:
      getName in interface Meta.TenantOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 2;
      Specified by:
      getNameBytes in interface Meta.TenantOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Meta.Tenant.Builder setName(String value)
      string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Meta.Tenant.Builder clearName()
      string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Meta.Tenant.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getComment

      public String getComment()
      string comment = 3;
      Specified by:
      getComment in interface Meta.TenantOrBuilder
      Returns:
      The comment.
    • getCommentBytes

      public com.google.protobuf.ByteString getCommentBytes()
      string comment = 3;
      Specified by:
      getCommentBytes in interface Meta.TenantOrBuilder
      Returns:
      The bytes for comment.
    • setComment

      public Meta.Tenant.Builder setComment(String value)
      string comment = 3;
      Parameters:
      value - The comment to set.
      Returns:
      This builder for chaining.
    • clearComment

      public Meta.Tenant.Builder clearComment()
      string comment = 3;
      Returns:
      This builder for chaining.
    • setCommentBytes

      public Meta.Tenant.Builder setCommentBytes(com.google.protobuf.ByteString value)
      string comment = 3;
      Parameters:
      value - The bytes for comment to set.
      Returns:
      This builder for chaining.
    • getCreateTimestamp

      public long getCreateTimestamp()
       this field is updated by coordinator
       
      int64 create_timestamp = 10;
      Specified by:
      getCreateTimestamp in interface Meta.TenantOrBuilder
      Returns:
      The createTimestamp.
    • setCreateTimestamp

      public Meta.Tenant.Builder setCreateTimestamp(long value)
       this field is updated by coordinator
       
      int64 create_timestamp = 10;
      Parameters:
      value - The createTimestamp to set.
      Returns:
      This builder for chaining.
    • clearCreateTimestamp

      public Meta.Tenant.Builder clearCreateTimestamp()
       this field is updated by coordinator
       
      int64 create_timestamp = 10;
      Returns:
      This builder for chaining.
    • getUpdateTimestamp

      public long getUpdateTimestamp()
       this field is updated by coordinator
       
      int64 update_timestamp = 11;
      Specified by:
      getUpdateTimestamp in interface Meta.TenantOrBuilder
      Returns:
      The updateTimestamp.
    • setUpdateTimestamp

      public Meta.Tenant.Builder setUpdateTimestamp(long value)
       this field is updated by coordinator
       
      int64 update_timestamp = 11;
      Parameters:
      value - The updateTimestamp to set.
      Returns:
      This builder for chaining.
    • clearUpdateTimestamp

      public Meta.Tenant.Builder clearUpdateTimestamp()
       this field is updated by coordinator
       
      int64 update_timestamp = 11;
      Returns:
      This builder for chaining.
    • getDeleteTimestamp

      public long getDeleteTimestamp()
       this field is updated by coordinator
       
      int64 delete_timestamp = 12;
      Specified by:
      getDeleteTimestamp in interface Meta.TenantOrBuilder
      Returns:
      The deleteTimestamp.
    • setDeleteTimestamp

      public Meta.Tenant.Builder setDeleteTimestamp(long value)
       this field is updated by coordinator
       
      int64 delete_timestamp = 12;
      Parameters:
      value - The deleteTimestamp to set.
      Returns:
      This builder for chaining.
    • clearDeleteTimestamp

      public Meta.Tenant.Builder clearDeleteTimestamp()
       this field is updated by coordinator
       
      int64 delete_timestamp = 12;
      Returns:
      This builder for chaining.
    • getSafePointTs

      public long getSafePointTs()
      int64 safe_point_ts = 20;
      Specified by:
      getSafePointTs in interface Meta.TenantOrBuilder
      Returns:
      The safePointTs.
    • setSafePointTs

      public Meta.Tenant.Builder setSafePointTs(long value)
      int64 safe_point_ts = 20;
      Parameters:
      value - The safePointTs to set.
      Returns:
      This builder for chaining.
    • clearSafePointTs

      public Meta.Tenant.Builder clearSafePointTs()
      int64 safe_point_ts = 20;
      Returns:
      This builder for chaining.
    • getRevision

      public long getRevision()
      int64 revision = 21;
      Specified by:
      getRevision in interface Meta.TenantOrBuilder
      Returns:
      The revision.
    • setRevision

      public Meta.Tenant.Builder setRevision(long value)
      int64 revision = 21;
      Parameters:
      value - The revision to set.
      Returns:
      This builder for chaining.
    • clearRevision

      public Meta.Tenant.Builder clearRevision()
      int64 revision = 21;
      Returns:
      This builder for chaining.
    • getResolveLockSafePointTs

      public long getResolveLockSafePointTs()
      int64 resolve_lock_safe_point_ts = 22;
      Specified by:
      getResolveLockSafePointTs in interface Meta.TenantOrBuilder
      Returns:
      The resolveLockSafePointTs.
    • setResolveLockSafePointTs

      public Meta.Tenant.Builder setResolveLockSafePointTs(long value)
      int64 resolve_lock_safe_point_ts = 22;
      Parameters:
      value - The resolveLockSafePointTs to set.
      Returns:
      This builder for chaining.
    • clearResolveLockSafePointTs

      public Meta.Tenant.Builder clearResolveLockSafePointTs()
      int64 resolve_lock_safe_point_ts = 22;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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