Package io.dingodb.meta
Class Meta.Tenant
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.meta.Meta.Tenant
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Meta.TenantOrBuilder,Serializable
- Enclosing class:
- Meta
public static final class Meta.Tenant
extends com.google.protobuf.GeneratedMessageV3
implements Meta.TenantOrBuilder
TenantProtobuf type
dingodb.pb.meta.Tenant- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstring comment = 3;com.google.protobuf.ByteStringstring comment = 3;longthis field is updated by coordinatorstatic Meta.Tenantlongthis field is updated by coordinatorstatic final com.google.protobuf.Descriptors.DescriptorlonggetId()this is the tenant id, it's updated by coordinatorgetName()string name = 2;com.google.protobuf.ByteStringstring name = 2;com.google.protobuf.Parser<Meta.Tenant>longint64 resolve_lock_safe_point_ts = 22;longint64 revision = 21;longint64 safe_point_ts = 20;intlongthis field is updated by coordinatorinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Meta.Tenant.Builderstatic Meta.Tenant.BuildernewBuilder(Meta.Tenant prototype) protected Meta.Tenant.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Meta.TenantparseDelimitedFrom(InputStream input) static Meta.TenantparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.TenantparseFrom(byte[] data) static Meta.TenantparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.TenantparseFrom(com.google.protobuf.ByteString data) static Meta.TenantparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.TenantparseFrom(com.google.protobuf.CodedInputStream input) static Meta.TenantparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.TenantparseFrom(InputStream input) static Meta.TenantparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.TenantparseFrom(ByteBuffer data) static Meta.TenantparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Meta.Tenant>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER- See Also:
-
CREATE_TIMESTAMP_FIELD_NUMBER
public static final int CREATE_TIMESTAMP_FIELD_NUMBER- See Also:
-
UPDATE_TIMESTAMP_FIELD_NUMBER
public static final int UPDATE_TIMESTAMP_FIELD_NUMBER- See Also:
-
DELETE_TIMESTAMP_FIELD_NUMBER
public static final int DELETE_TIMESTAMP_FIELD_NUMBER- See Also:
-
SAFE_POINT_TS_FIELD_NUMBER
public static final int SAFE_POINT_TS_FIELD_NUMBER- See Also:
-
REVISION_FIELD_NUMBER
public static final int REVISION_FIELD_NUMBER- See Also:
-
RESOLVE_LOCK_SAFE_POINT_TS_FIELD_NUMBER
public static final int RESOLVE_LOCK_SAFE_POINT_TS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getId
public long getId()this is the tenant id, it's updated by coordinator
int64 id = 1;- Specified by:
getIdin interfaceMeta.TenantOrBuilder- Returns:
- The id.
-
getName
string name = 2;- Specified by:
getNamein interfaceMeta.TenantOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2;- Specified by:
getNameBytesin interfaceMeta.TenantOrBuilder- Returns:
- The bytes for name.
-
getComment
string comment = 3;- Specified by:
getCommentin interfaceMeta.TenantOrBuilder- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()string comment = 3;- Specified by:
getCommentBytesin interfaceMeta.TenantOrBuilder- Returns:
- The bytes for comment.
-
getCreateTimestamp
public long getCreateTimestamp()this field is updated by coordinator
int64 create_timestamp = 10;- Specified by:
getCreateTimestampin interfaceMeta.TenantOrBuilder- Returns:
- The createTimestamp.
-
getUpdateTimestamp
public long getUpdateTimestamp()this field is updated by coordinator
int64 update_timestamp = 11;- Specified by:
getUpdateTimestampin interfaceMeta.TenantOrBuilder- Returns:
- The updateTimestamp.
-
getDeleteTimestamp
public long getDeleteTimestamp()this field is updated by coordinator
int64 delete_timestamp = 12;- Specified by:
getDeleteTimestampin interfaceMeta.TenantOrBuilder- Returns:
- The deleteTimestamp.
-
getSafePointTs
public long getSafePointTs()int64 safe_point_ts = 20;- Specified by:
getSafePointTsin interfaceMeta.TenantOrBuilder- Returns:
- The safePointTs.
-
getRevision
public long getRevision()int64 revision = 21;- Specified by:
getRevisionin interfaceMeta.TenantOrBuilder- Returns:
- The revision.
-
getResolveLockSafePointTs
public long getResolveLockSafePointTs()int64 resolve_lock_safe_point_ts = 22;- Specified by:
getResolveLockSafePointTsin interfaceMeta.TenantOrBuilder- Returns:
- The resolveLockSafePointTs.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Meta.Tenant parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.Tenant parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.Tenant parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.Tenant parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.Tenant parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Meta.Tenant parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Meta.Tenant parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Meta.Tenant parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Meta.Tenant.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-