Package dingodb.pb.coordinator_internal
Class CoordinatorInternalOuterClass.TableInternal.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
dingodb.pb.coordinator_internal.CoordinatorInternalOuterClass.TableInternal.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CoordinatorInternalOuterClass.TableInternalOrBuilder,Cloneable
- Enclosing class:
- CoordinatorInternalOuterClass.TableInternal
public static final class CoordinatorInternalOuterClass.TableInternal.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
implements CoordinatorInternalOuterClass.TableInternalOrBuilder
TableInternal is storage structure for coordinatorProtobuf type
dingodb.pb.coordinator_internal.TableInternal-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear().dingodb.pb.meta.TableDefinition definition = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()int64 id = 1;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) if the partition_is is continuous, this field will be set, else this field will be empty.int64 schema_id = 3;int64 table_id = 4;int64 tenant_id = 6;clone().dingodb.pb.meta.TableDefinition definition = 2;.dingodb.pb.meta.TableDefinition definition = 2;.dingodb.pb.meta.TableDefinition definition = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetId()int64 id = 1;getRange()if the partition_is is continuous, this field will be set, else this field will be empty.if the partition_is is continuous, this field will be set, else this field will be empty.if the partition_is is continuous, this field will be set, else this field will be empty.longint64 schema_id = 3;longint64 table_id = 4;longint64 tenant_id = 6;boolean.dingodb.pb.meta.TableDefinition definition = 2;booleanhasRange()if the partition_is is continuous, this field will be set, else this field will be empty.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal boolean.dingodb.pb.meta.TableDefinition definition = 2;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRange(Common.Range value) if the partition_is is continuous, this field will be set, else this field will be empty.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .dingodb.pb.meta.TableDefinition definition = 2;setDefinition(Meta.TableDefinition.Builder builderForValue) .dingodb.pb.meta.TableDefinition definition = 2;setId(long value) int64 id = 1;setRange(Common.Range value) if the partition_is is continuous, this field will be set, else this field will be empty.setRange(Common.Range.Builder builderForValue) if the partition_is is continuous, this field will be set, else this field will be empty.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSchemaId(long value) int64 schema_id = 3;setTableId(long value) int64 table_id = 4;setTenantId(long value) int64 tenant_id = 6;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
setField
public CoordinatorInternalOuterClass.TableInternal.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
clearField
public CoordinatorInternalOuterClass.TableInternal.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
clearOneof
public CoordinatorInternalOuterClass.TableInternal.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
setRepeatedField
public CoordinatorInternalOuterClass.TableInternal.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
addRepeatedField
public CoordinatorInternalOuterClass.TableInternal.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
mergeFrom
public CoordinatorInternalOuterClass.TableInternal.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
mergeFrom
public CoordinatorInternalOuterClass.TableInternal.Builder mergeFrom(CoordinatorInternalOuterClass.TableInternal other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
mergeFrom
public CoordinatorInternalOuterClass.TableInternal.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>- Throws:
IOException
-
getId
public long getId()int64 id = 1;- Specified by:
getIdin interfaceCoordinatorInternalOuterClass.TableInternalOrBuilder- Returns:
- The id.
-
setId
int64 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
int64 id = 1;- Returns:
- This builder for chaining.
-
hasDefinition
public boolean hasDefinition().dingodb.pb.meta.TableDefinition definition = 2;- Specified by:
hasDefinitionin interfaceCoordinatorInternalOuterClass.TableInternalOrBuilder- Returns:
- Whether the definition field is set.
-
getDefinition
.dingodb.pb.meta.TableDefinition definition = 2;- Specified by:
getDefinitionin interfaceCoordinatorInternalOuterClass.TableInternalOrBuilder- Returns:
- The definition.
-
setDefinition
public CoordinatorInternalOuterClass.TableInternal.Builder setDefinition(Meta.TableDefinition value) .dingodb.pb.meta.TableDefinition definition = 2; -
setDefinition
public CoordinatorInternalOuterClass.TableInternal.Builder setDefinition(Meta.TableDefinition.Builder builderForValue) .dingodb.pb.meta.TableDefinition definition = 2; -
mergeDefinition
public CoordinatorInternalOuterClass.TableInternal.Builder mergeDefinition(Meta.TableDefinition value) .dingodb.pb.meta.TableDefinition definition = 2; -
clearDefinition
.dingodb.pb.meta.TableDefinition definition = 2; -
getDefinitionBuilder
.dingodb.pb.meta.TableDefinition definition = 2; -
getDefinitionOrBuilder
.dingodb.pb.meta.TableDefinition definition = 2;- Specified by:
getDefinitionOrBuilderin interfaceCoordinatorInternalOuterClass.TableInternalOrBuilder
-
getSchemaId
public long getSchemaId()int64 schema_id = 3;- Specified by:
getSchemaIdin interfaceCoordinatorInternalOuterClass.TableInternalOrBuilder- Returns:
- The schemaId.
-
setSchemaId
int64 schema_id = 3;- Parameters:
value- The schemaId to set.- Returns:
- This builder for chaining.
-
clearSchemaId
int64 schema_id = 3;- Returns:
- This builder for chaining.
-
getTableId
public long getTableId()int64 table_id = 4;- Specified by:
getTableIdin interfaceCoordinatorInternalOuterClass.TableInternalOrBuilder- Returns:
- The tableId.
-
setTableId
int64 table_id = 4;- Parameters:
value- The tableId to set.- Returns:
- This builder for chaining.
-
clearTableId
int64 table_id = 4;- Returns:
- This builder for chaining.
-
hasRange
public boolean hasRange()if the partition_is is continuous, this field will be set, else this field will be empty. if this field is empty, we will do ScanRegions for each partition to get the region list.
.dingodb.pb.common.Range range = 5;- Specified by:
hasRangein interfaceCoordinatorInternalOuterClass.TableInternalOrBuilder- Returns:
- Whether the range field is set.
-
getRange
if the partition_is is continuous, this field will be set, else this field will be empty. if this field is empty, we will do ScanRegions for each partition to get the region list.
.dingodb.pb.common.Range range = 5;- Specified by:
getRangein interfaceCoordinatorInternalOuterClass.TableInternalOrBuilder- Returns:
- The range.
-
setRange
if the partition_is is continuous, this field will be set, else this field will be empty. if this field is empty, we will do ScanRegions for each partition to get the region list.
.dingodb.pb.common.Range range = 5; -
setRange
public CoordinatorInternalOuterClass.TableInternal.Builder setRange(Common.Range.Builder builderForValue) if the partition_is is continuous, this field will be set, else this field will be empty. if this field is empty, we will do ScanRegions for each partition to get the region list.
.dingodb.pb.common.Range range = 5; -
mergeRange
if the partition_is is continuous, this field will be set, else this field will be empty. if this field is empty, we will do ScanRegions for each partition to get the region list.
.dingodb.pb.common.Range range = 5; -
clearRange
if the partition_is is continuous, this field will be set, else this field will be empty. if this field is empty, we will do ScanRegions for each partition to get the region list.
.dingodb.pb.common.Range range = 5; -
getRangeBuilder
if the partition_is is continuous, this field will be set, else this field will be empty. if this field is empty, we will do ScanRegions for each partition to get the region list.
.dingodb.pb.common.Range range = 5; -
getRangeOrBuilder
if the partition_is is continuous, this field will be set, else this field will be empty. if this field is empty, we will do ScanRegions for each partition to get the region list.
.dingodb.pb.common.Range range = 5;- Specified by:
getRangeOrBuilderin interfaceCoordinatorInternalOuterClass.TableInternalOrBuilder
-
getTenantId
public long getTenantId()int64 tenant_id = 6;- Specified by:
getTenantIdin interfaceCoordinatorInternalOuterClass.TableInternalOrBuilder- Returns:
- The tenantId.
-
setTenantId
int64 tenant_id = 6;- Parameters:
value- The tenantId to set.- Returns:
- This builder for chaining.
-
clearTenantId
int64 tenant_id = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final CoordinatorInternalOuterClass.TableInternal.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-
mergeUnknownFields
public final CoordinatorInternalOuterClass.TableInternal.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CoordinatorInternalOuterClass.TableInternal.Builder>
-