public final class ShardGroupInfo extends com.google.protobuf.GeneratedMessageV3 implements ShardGroupInfoOrBuilder
staros.ShardGroupInfo| Modifier and Type | Class and Description |
|---|---|
static class |
ShardGroupInfo.Builder
Protobuf type
staros.ShardGroupInfo |
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 |
ANONYMOUS_FIELD_NUMBER |
static int |
GROUP_ID_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
META_GROUP_ID_FIELD_NUMBER |
static int |
POLICY_FIELD_NUMBER |
static int |
PROPERTIES_FIELD_NUMBER |
static int |
SERVICE_ID_FIELD_NUMBER |
static int |
SHARD_IDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(java.lang.String key)
map<string, string> labels = 7; |
boolean |
containsProperties(java.lang.String key)
map<string, string> properties = 8; |
boolean |
equals(java.lang.Object obj) |
boolean |
getAnonymous()
bool anonymous = 5; |
static ShardGroupInfo |
getDefaultInstance() |
ShardGroupInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getGroupId()
uint64 group_id = 2; |
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
map<string, string> labels = 7; |
java.util.Map<java.lang.String,java.lang.String> |
getLabelsMap()
map<string, string> labels = 7; |
java.lang.String |
getLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> labels = 7; |
java.lang.String |
getLabelsOrThrow(java.lang.String key)
map<string, string> labels = 7; |
long |
getMetaGroupId()
uint64 meta_group_id = 6; |
com.google.protobuf.Parser<ShardGroupInfo> |
getParserForType() |
PlacementPolicy |
getPolicy()
.staros.PlacementPolicy policy = 4; |
int |
getPolicyValue()
.staros.PlacementPolicy policy = 4; |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Deprecated.
|
int |
getPropertiesCount()
map<string, string> properties = 8; |
java.util.Map<java.lang.String,java.lang.String> |
getPropertiesMap()
map<string, string> properties = 8; |
java.lang.String |
getPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> properties = 8; |
java.lang.String |
getPropertiesOrThrow(java.lang.String key)
map<string, string> properties = 8; |
int |
getSerializedSize() |
java.lang.String |
getServiceId()
string service_id = 1; |
com.google.protobuf.ByteString |
getServiceIdBytes()
string service_id = 1; |
long |
getShardIds(int index)
repeated uint64 shard_ids = 3; |
int |
getShardIdsCount()
repeated uint64 shard_ids = 3; |
java.util.List<java.lang.Long> |
getShardIdsList()
repeated uint64 shard_ids = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ShardGroupInfo.Builder |
newBuilder() |
static ShardGroupInfo.Builder |
newBuilder(ShardGroupInfo prototype) |
ShardGroupInfo.Builder |
newBuilderForType() |
protected ShardGroupInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ShardGroupInfo |
parseDelimitedFrom(java.io.InputStream input) |
static ShardGroupInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShardGroupInfo |
parseFrom(byte[] data) |
static ShardGroupInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShardGroupInfo |
parseFrom(java.nio.ByteBuffer data) |
static ShardGroupInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShardGroupInfo |
parseFrom(com.google.protobuf.ByteString data) |
static ShardGroupInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShardGroupInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ShardGroupInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ShardGroupInfo |
parseFrom(java.io.InputStream input) |
static ShardGroupInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ShardGroupInfo> |
parser() |
ShardGroupInfo.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_ID_FIELD_NUMBER
public static final int SHARD_IDS_FIELD_NUMBER
public static final int POLICY_FIELD_NUMBER
public static final int ANONYMOUS_FIELD_NUMBER
public static final int META_GROUP_ID_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int PROPERTIES_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 ShardGroupInfoOrBuilderpublic com.google.protobuf.ByteString getServiceIdBytes()
string service_id = 1;getServiceIdBytes in interface ShardGroupInfoOrBuilderpublic long getGroupId()
uint64 group_id = 2;getGroupId in interface ShardGroupInfoOrBuilderpublic java.util.List<java.lang.Long> getShardIdsList()
repeated uint64 shard_ids = 3;getShardIdsList in interface ShardGroupInfoOrBuilderpublic int getShardIdsCount()
repeated uint64 shard_ids = 3;getShardIdsCount in interface ShardGroupInfoOrBuilderpublic long getShardIds(int index)
repeated uint64 shard_ids = 3;getShardIds in interface ShardGroupInfoOrBuilderindex - The index of the element to return.public int getPolicyValue()
.staros.PlacementPolicy policy = 4;getPolicyValue in interface ShardGroupInfoOrBuilderpublic PlacementPolicy getPolicy()
.staros.PlacementPolicy policy = 4;getPolicy in interface ShardGroupInfoOrBuilderpublic boolean getAnonymous()
bool anonymous = 5;getAnonymous in interface ShardGroupInfoOrBuilderpublic long getMetaGroupId()
uint64 meta_group_id = 6;getMetaGroupId in interface ShardGroupInfoOrBuilderpublic int getLabelsCount()
ShardGroupInfoOrBuildermap<string, string> labels = 7;getLabelsCount in interface ShardGroupInfoOrBuilderpublic boolean containsLabels(java.lang.String key)
map<string, string> labels = 7;containsLabels in interface ShardGroupInfoOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getLabels()
getLabelsMap() instead.getLabels in interface ShardGroupInfoOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getLabelsMap()
map<string, string> labels = 7;getLabelsMap in interface ShardGroupInfoOrBuilderpublic java.lang.String getLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> labels = 7;getLabelsOrDefault in interface ShardGroupInfoOrBuilderpublic java.lang.String getLabelsOrThrow(java.lang.String key)
map<string, string> labels = 7;getLabelsOrThrow in interface ShardGroupInfoOrBuilderpublic int getPropertiesCount()
ShardGroupInfoOrBuildermap<string, string> properties = 8;getPropertiesCount in interface ShardGroupInfoOrBuilderpublic boolean containsProperties(java.lang.String key)
map<string, string> properties = 8;containsProperties in interface ShardGroupInfoOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getProperties()
getPropertiesMap() instead.getProperties in interface ShardGroupInfoOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getPropertiesMap()
map<string, string> properties = 8;getPropertiesMap in interface ShardGroupInfoOrBuilderpublic java.lang.String getPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> properties = 8;getPropertiesOrDefault in interface ShardGroupInfoOrBuilderpublic java.lang.String getPropertiesOrThrow(java.lang.String key)
map<string, string> properties = 8;getPropertiesOrThrow in interface ShardGroupInfoOrBuilderpublic 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 ShardGroupInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardGroupInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardGroupInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardGroupInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardGroupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardGroupInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ShardGroupInfo parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ShardGroupInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ShardGroupInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ShardGroupInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ShardGroupInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ShardGroupInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ShardGroupInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ShardGroupInfo.Builder newBuilder()
public static ShardGroupInfo.Builder newBuilder(ShardGroupInfo prototype)
public ShardGroupInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ShardGroupInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ShardGroupInfo getDefaultInstance()
public static com.google.protobuf.Parser<ShardGroupInfo> parser()
public com.google.protobuf.Parser<ShardGroupInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ShardGroupInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.