public final class CreateShardInfo extends com.google.protobuf.GeneratedMessageV3 implements CreateShardInfoOrBuilder
staros.CreateShardInfo| Modifier and Type | Class and Description |
|---|---|
static class |
CreateShardInfo.Builder
Protobuf type
staros.CreateShardInfo |
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 |
CACHE_INFO_FIELD_NUMBER |
static int |
GROUP_IDS_FIELD_NUMBER |
static int |
PATH_INFO_FIELD_NUMBER |
static int |
PLACEMENT_PREFERENCES_FIELD_NUMBER |
static int |
REPLICA_COUNT_FIELD_NUMBER |
static int |
SCHEDULE_TO_WORKER_GROUP_FIELD_NUMBER |
static int |
SHARD_ID_FIELD_NUMBER |
static int |
SHARD_PROPERTIES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsShardProperties(java.lang.String key)
map<string, string> shard_properties = 4; |
boolean |
equals(java.lang.Object obj) |
FileCacheInfo |
getCacheInfo()
.staros.FileCacheInfo cache_info = 6; |
FileCacheInfoOrBuilder |
getCacheInfoOrBuilder()
.staros.FileCacheInfo cache_info = 6; |
static CreateShardInfo |
getDefaultInstance() |
CreateShardInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getGroupIds(int index)
repeated uint64 group_ids = 1; |
int |
getGroupIdsCount()
repeated uint64 group_ids = 1; |
java.util.List<java.lang.Long> |
getGroupIdsList()
repeated uint64 group_ids = 1; |
com.google.protobuf.Parser<CreateShardInfo> |
getParserForType() |
FilePathInfo |
getPathInfo()
.staros.FilePathInfo path_info = 5; |
FilePathInfoOrBuilder |
getPathInfoOrBuilder()
.staros.FilePathInfo path_info = 5; |
PlacementPreference |
getPlacementPreferences(int index)
repeated .staros.PlacementPreference placement_preferences = 7; |
int |
getPlacementPreferencesCount()
repeated .staros.PlacementPreference placement_preferences = 7; |
java.util.List<PlacementPreference> |
getPlacementPreferencesList()
repeated .staros.PlacementPreference placement_preferences = 7; |
PlacementPreferenceOrBuilder |
getPlacementPreferencesOrBuilder(int index)
repeated .staros.PlacementPreference placement_preferences = 7; |
java.util.List<? extends PlacementPreferenceOrBuilder> |
getPlacementPreferencesOrBuilderList()
repeated .staros.PlacementPreference placement_preferences = 7; |
int |
getReplicaCount()
uint32 replica_count = 3; |
long |
getScheduleToWorkerGroup()
optional, schedule to specific worker group immediately after creation.
|
int |
getSerializedSize() |
long |
getShardId()
uint64 shard_id = 2; |
java.util.Map<java.lang.String,java.lang.String> |
getShardProperties()
Deprecated.
|
int |
getShardPropertiesCount()
map<string, string> shard_properties = 4; |
java.util.Map<java.lang.String,java.lang.String> |
getShardPropertiesMap()
map<string, string> shard_properties = 4; |
java.lang.String |
getShardPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> shard_properties = 4; |
java.lang.String |
getShardPropertiesOrThrow(java.lang.String key)
map<string, string> shard_properties = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCacheInfo()
.staros.FileCacheInfo cache_info = 6; |
int |
hashCode() |
boolean |
hasPathInfo()
.staros.FilePathInfo path_info = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static CreateShardInfo.Builder |
newBuilder() |
static CreateShardInfo.Builder |
newBuilder(CreateShardInfo prototype) |
CreateShardInfo.Builder |
newBuilderForType() |
protected CreateShardInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CreateShardInfo |
parseDelimitedFrom(java.io.InputStream input) |
static CreateShardInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateShardInfo |
parseFrom(byte[] data) |
static CreateShardInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateShardInfo |
parseFrom(java.nio.ByteBuffer data) |
static CreateShardInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateShardInfo |
parseFrom(com.google.protobuf.ByteString data) |
static CreateShardInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateShardInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CreateShardInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateShardInfo |
parseFrom(java.io.InputStream input) |
static CreateShardInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CreateShardInfo> |
parser() |
CreateShardInfo.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 GROUP_IDS_FIELD_NUMBER
public static final int SHARD_ID_FIELD_NUMBER
public static final int REPLICA_COUNT_FIELD_NUMBER
public static final int SHARD_PROPERTIES_FIELD_NUMBER
public static final int PATH_INFO_FIELD_NUMBER
public static final int CACHE_INFO_FIELD_NUMBER
public static final int PLACEMENT_PREFERENCES_FIELD_NUMBER
public static final int SCHEDULE_TO_WORKER_GROUP_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.util.List<java.lang.Long> getGroupIdsList()
repeated uint64 group_ids = 1;getGroupIdsList in interface CreateShardInfoOrBuilderpublic int getGroupIdsCount()
repeated uint64 group_ids = 1;getGroupIdsCount in interface CreateShardInfoOrBuilderpublic long getGroupIds(int index)
repeated uint64 group_ids = 1;getGroupIds in interface CreateShardInfoOrBuilderindex - The index of the element to return.public long getShardId()
uint64 shard_id = 2;getShardId in interface CreateShardInfoOrBuilderpublic int getReplicaCount()
uint32 replica_count = 3;getReplicaCount in interface CreateShardInfoOrBuilderpublic int getShardPropertiesCount()
CreateShardInfoOrBuildermap<string, string> shard_properties = 4;getShardPropertiesCount in interface CreateShardInfoOrBuilderpublic boolean containsShardProperties(java.lang.String key)
map<string, string> shard_properties = 4;containsShardProperties in interface CreateShardInfoOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getShardProperties()
getShardPropertiesMap() instead.getShardProperties in interface CreateShardInfoOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getShardPropertiesMap()
map<string, string> shard_properties = 4;getShardPropertiesMap in interface CreateShardInfoOrBuilderpublic java.lang.String getShardPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> shard_properties = 4;getShardPropertiesOrDefault in interface CreateShardInfoOrBuilderpublic java.lang.String getShardPropertiesOrThrow(java.lang.String key)
map<string, string> shard_properties = 4;getShardPropertiesOrThrow in interface CreateShardInfoOrBuilderpublic boolean hasPathInfo()
.staros.FilePathInfo path_info = 5;hasPathInfo in interface CreateShardInfoOrBuilderpublic FilePathInfo getPathInfo()
.staros.FilePathInfo path_info = 5;getPathInfo in interface CreateShardInfoOrBuilderpublic FilePathInfoOrBuilder getPathInfoOrBuilder()
.staros.FilePathInfo path_info = 5;getPathInfoOrBuilder in interface CreateShardInfoOrBuilderpublic boolean hasCacheInfo()
.staros.FileCacheInfo cache_info = 6;hasCacheInfo in interface CreateShardInfoOrBuilderpublic FileCacheInfo getCacheInfo()
.staros.FileCacheInfo cache_info = 6;getCacheInfo in interface CreateShardInfoOrBuilderpublic FileCacheInfoOrBuilder getCacheInfoOrBuilder()
.staros.FileCacheInfo cache_info = 6;getCacheInfoOrBuilder in interface CreateShardInfoOrBuilderpublic java.util.List<PlacementPreference> getPlacementPreferencesList()
repeated .staros.PlacementPreference placement_preferences = 7;getPlacementPreferencesList in interface CreateShardInfoOrBuilderpublic java.util.List<? extends PlacementPreferenceOrBuilder> getPlacementPreferencesOrBuilderList()
repeated .staros.PlacementPreference placement_preferences = 7;getPlacementPreferencesOrBuilderList in interface CreateShardInfoOrBuilderpublic int getPlacementPreferencesCount()
repeated .staros.PlacementPreference placement_preferences = 7;getPlacementPreferencesCount in interface CreateShardInfoOrBuilderpublic PlacementPreference getPlacementPreferences(int index)
repeated .staros.PlacementPreference placement_preferences = 7;getPlacementPreferences in interface CreateShardInfoOrBuilderpublic PlacementPreferenceOrBuilder getPlacementPreferencesOrBuilder(int index)
repeated .staros.PlacementPreference placement_preferences = 7;getPlacementPreferencesOrBuilder in interface CreateShardInfoOrBuilderpublic long getScheduleToWorkerGroup()
optional, schedule to specific worker group immediately after creation.
uint64 schedule_to_worker_group = 8;getScheduleToWorkerGroup in interface CreateShardInfoOrBuilderpublic 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 CreateShardInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateShardInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateShardInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateShardInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateShardInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateShardInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateShardInfo parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateShardInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CreateShardInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateShardInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CreateShardInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateShardInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CreateShardInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CreateShardInfo.Builder newBuilder()
public static CreateShardInfo.Builder newBuilder(CreateShardInfo prototype)
public CreateShardInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CreateShardInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CreateShardInfo getDefaultInstance()
public static com.google.protobuf.Parser<CreateShardInfo> parser()
public com.google.protobuf.Parser<CreateShardInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CreateShardInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.