public final class ShardInfo extends com.google.protobuf.GeneratedMessageV3 implements ShardInfoOrBuilder
staros.ShardInfo| Modifier and Type | Class and Description |
|---|---|
static class |
ShardInfo.Builder
Protobuf type
staros.ShardInfo |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
EXPECTED_REPLICA_NUM_FIELD_NUMBER |
static int |
FILE_CACHE_FIELD_NUMBER |
static int |
FILE_PATH_FIELD_NUMBER |
static int |
GROUP_IDS_FIELD_NUMBER |
static int |
HASH_CODE_FIELD_NUMBER |
static int |
REPLICA_INFO_FIELD_NUMBER |
static int |
SERVICE_ID_FIELD_NUMBER |
static int |
SHARD_ID_FIELD_NUMBER |
static int |
SHARD_PROPERTIES_FIELD_NUMBER |
static int |
SHARD_STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsShardProperties(java.lang.String key)
map<string, string> shard_properties = 8; |
boolean |
equals(java.lang.Object obj) |
static ShardInfo |
getDefaultInstance() |
ShardInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getExpectedReplicaNum()
uint32 expected_replica_num = 9; |
FileCacheInfo |
getFileCache()
.staros.FileCacheInfo file_cache = 6; |
FileCacheInfoOrBuilder |
getFileCacheOrBuilder()
.staros.FileCacheInfo file_cache = 6; |
FilePathInfo |
getFilePath()
.staros.FilePathInfo file_path = 5; |
FilePathInfoOrBuilder |
getFilePathOrBuilder()
.staros.FilePathInfo file_path = 5; |
long |
getGroupIds(int index)
repeated uint64 group_ids = 2; |
int |
getGroupIdsCount()
repeated uint64 group_ids = 2; |
java.util.List<java.lang.Long> |
getGroupIdsList()
repeated uint64 group_ids = 2; |
int |
getHashCode()
int32 hash_code = 10; |
com.google.protobuf.Parser<ShardInfo> |
getParserForType() |
ReplicaInfo |
getReplicaInfo(int index)
repeated .staros.ReplicaInfo replica_info = 7; |
int |
getReplicaInfoCount()
repeated .staros.ReplicaInfo replica_info = 7; |
java.util.List<ReplicaInfo> |
getReplicaInfoList()
repeated .staros.ReplicaInfo replica_info = 7; |
ReplicaInfoOrBuilder |
getReplicaInfoOrBuilder(int index)
repeated .staros.ReplicaInfo replica_info = 7; |
java.util.List<? extends ReplicaInfoOrBuilder> |
getReplicaInfoOrBuilderList()
repeated .staros.ReplicaInfo replica_info = 7; |
int |
getSerializedSize() |
java.lang.String |
getServiceId()
string service_id = 1; |
com.google.protobuf.ByteString |
getServiceIdBytes()
string service_id = 1; |
long |
getShardId()
uint64 shard_id = 3; |
java.util.Map<java.lang.String,java.lang.String> |
getShardProperties()
Deprecated.
|
int |
getShardPropertiesCount()
map<string, string> shard_properties = 8; |
java.util.Map<java.lang.String,java.lang.String> |
getShardPropertiesMap()
map<string, string> shard_properties = 8; |
java.lang.String |
getShardPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> shard_properties = 8; |
java.lang.String |
getShardPropertiesOrThrow(java.lang.String key)
map<string, string> shard_properties = 8; |
ShardState |
getShardState()
.staros.ShardState shard_state = 4; |
int |
getShardStateValue()
.staros.ShardState shard_state = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFileCache()
.staros.FileCacheInfo file_cache = 6; |
boolean |
hasFilePath()
.staros.FilePathInfo file_path = 5; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ShardInfo.Builder |
newBuilder() |
static ShardInfo.Builder |
newBuilder(ShardInfo prototype) |
ShardInfo.Builder |
newBuilderForType() |
protected ShardInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ShardInfo |
parseDelimitedFrom(java.io.InputStream input) |
static ShardInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShardInfo |
parseFrom(byte[] data) |
static ShardInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShardInfo |
parseFrom(java.nio.ByteBuffer data) |
static ShardInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShardInfo |
parseFrom(com.google.protobuf.ByteString data) |
static ShardInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShardInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ShardInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShardInfo |
parseFrom(java.io.InputStream input) |
static ShardInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ShardInfo> |
parser() |
ShardInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SERVICE_ID_FIELD_NUMBER
public static final int GROUP_IDS_FIELD_NUMBER
public static final int SHARD_ID_FIELD_NUMBER
public static final int SHARD_STATE_FIELD_NUMBER
public static final int FILE_PATH_FIELD_NUMBER
public static final int FILE_CACHE_FIELD_NUMBER
public static final int REPLICA_INFO_FIELD_NUMBER
public static final int SHARD_PROPERTIES_FIELD_NUMBER
public static final int EXPECTED_REPLICA_NUM_FIELD_NUMBER
public static final int HASH_CODE_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getServiceId()
string service_id = 1;getServiceId in interface ShardInfoOrBuilderpublic com.google.protobuf.ByteString getServiceIdBytes()
string service_id = 1;getServiceIdBytes in interface ShardInfoOrBuilderpublic java.util.List<java.lang.Long> getGroupIdsList()
repeated uint64 group_ids = 2;getGroupIdsList in interface ShardInfoOrBuilderpublic int getGroupIdsCount()
repeated uint64 group_ids = 2;getGroupIdsCount in interface ShardInfoOrBuilderpublic long getGroupIds(int index)
repeated uint64 group_ids = 2;getGroupIds in interface ShardInfoOrBuilderindex - The index of the element to return.public long getShardId()
uint64 shard_id = 3;getShardId in interface ShardInfoOrBuilderpublic int getShardStateValue()
.staros.ShardState shard_state = 4;getShardStateValue in interface ShardInfoOrBuilderpublic ShardState getShardState()
.staros.ShardState shard_state = 4;getShardState in interface ShardInfoOrBuilderpublic boolean hasFilePath()
.staros.FilePathInfo file_path = 5;hasFilePath in interface ShardInfoOrBuilderpublic FilePathInfo getFilePath()
.staros.FilePathInfo file_path = 5;getFilePath in interface ShardInfoOrBuilderpublic FilePathInfoOrBuilder getFilePathOrBuilder()
.staros.FilePathInfo file_path = 5;getFilePathOrBuilder in interface ShardInfoOrBuilderpublic boolean hasFileCache()
.staros.FileCacheInfo file_cache = 6;hasFileCache in interface ShardInfoOrBuilderpublic FileCacheInfo getFileCache()
.staros.FileCacheInfo file_cache = 6;getFileCache in interface ShardInfoOrBuilderpublic FileCacheInfoOrBuilder getFileCacheOrBuilder()
.staros.FileCacheInfo file_cache = 6;getFileCacheOrBuilder in interface ShardInfoOrBuilderpublic java.util.List<ReplicaInfo> getReplicaInfoList()
repeated .staros.ReplicaInfo replica_info = 7;getReplicaInfoList in interface ShardInfoOrBuilderpublic java.util.List<? extends ReplicaInfoOrBuilder> getReplicaInfoOrBuilderList()
repeated .staros.ReplicaInfo replica_info = 7;getReplicaInfoOrBuilderList in interface ShardInfoOrBuilderpublic int getReplicaInfoCount()
repeated .staros.ReplicaInfo replica_info = 7;getReplicaInfoCount in interface ShardInfoOrBuilderpublic ReplicaInfo getReplicaInfo(int index)
repeated .staros.ReplicaInfo replica_info = 7;getReplicaInfo in interface ShardInfoOrBuilderpublic ReplicaInfoOrBuilder getReplicaInfoOrBuilder(int index)
repeated .staros.ReplicaInfo replica_info = 7;getReplicaInfoOrBuilder in interface ShardInfoOrBuilderpublic int getShardPropertiesCount()
ShardInfoOrBuildermap<string, string> shard_properties = 8;getShardPropertiesCount in interface ShardInfoOrBuilderpublic boolean containsShardProperties(java.lang.String key)
map<string, string> shard_properties = 8;containsShardProperties in interface ShardInfoOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getShardProperties()
getShardPropertiesMap() instead.getShardProperties in interface ShardInfoOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getShardPropertiesMap()
map<string, string> shard_properties = 8;getShardPropertiesMap in interface ShardInfoOrBuilderpublic java.lang.String getShardPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> shard_properties = 8;getShardPropertiesOrDefault in interface ShardInfoOrBuilderpublic java.lang.String getShardPropertiesOrThrow(java.lang.String key)
map<string, string> shard_properties = 8;getShardPropertiesOrThrow in interface ShardInfoOrBuilderpublic int getExpectedReplicaNum()
uint32 expected_replica_num = 9;getExpectedReplicaNum in interface ShardInfoOrBuilderpublic int getHashCode()
int32 hash_code = 10;getHashCode in interface ShardInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ShardInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardInfo parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ShardInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ShardInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ShardInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ShardInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ShardInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ShardInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ShardInfo.Builder newBuilder()
public static ShardInfo.Builder newBuilder(ShardInfo prototype)
public ShardInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ShardInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ShardInfo getDefaultInstance()
public static com.google.protobuf.Parser<ShardInfo> parser()
public com.google.protobuf.Parser<ShardInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ShardInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.