public final class UpdateWorkerGroupRequest extends com.google.protobuf.GeneratedMessageV3 implements UpdateWorkerGroupRequestOrBuilder
staros.UpdateWorkerGroupRequest| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateWorkerGroupRequest.Builder
Protobuf type
staros.UpdateWorkerGroupRequest |
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 |
GROUP_ID_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
PROPERTIES_FIELD_NUMBER |
static int |
SERVICE_ID_FIELD_NUMBER |
static int |
SPEC_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(java.lang.String key)
optional, replace worker group labels
|
boolean |
containsProperties(java.lang.String key)
optional, replace worker group properties
|
boolean |
equals(java.lang.Object obj) |
static UpdateWorkerGroupRequest |
getDefaultInstance() |
UpdateWorkerGroupRequest |
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()
optional, replace worker group labels
|
java.util.Map<java.lang.String,java.lang.String> |
getLabelsMap()
optional, replace worker group labels
|
java.lang.String |
getLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
optional, replace worker group labels
|
java.lang.String |
getLabelsOrThrow(java.lang.String key)
optional, replace worker group labels
|
com.google.protobuf.Parser<UpdateWorkerGroupRequest> |
getParserForType() |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Deprecated.
|
int |
getPropertiesCount()
optional, replace worker group properties
|
java.util.Map<java.lang.String,java.lang.String> |
getPropertiesMap()
optional, replace worker group properties
|
java.lang.String |
getPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
optional, replace worker group properties
|
java.lang.String |
getPropertiesOrThrow(java.lang.String key)
optional, replace worker group properties
|
int |
getSerializedSize() |
java.lang.String |
getServiceId()
string service_id = 1; |
com.google.protobuf.ByteString |
getServiceIdBytes()
string service_id = 1; |
WorkerGroupSpec |
getSpec()
optional, alter worker group size
|
WorkerGroupSpecOrBuilder |
getSpecOrBuilder()
optional, alter worker group size
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasSpec()
optional, alter worker group size
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static UpdateWorkerGroupRequest.Builder |
newBuilder() |
static UpdateWorkerGroupRequest.Builder |
newBuilder(UpdateWorkerGroupRequest prototype) |
UpdateWorkerGroupRequest.Builder |
newBuilderForType() |
protected UpdateWorkerGroupRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UpdateWorkerGroupRequest |
parseDelimitedFrom(java.io.InputStream input) |
static UpdateWorkerGroupRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateWorkerGroupRequest |
parseFrom(byte[] data) |
static UpdateWorkerGroupRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateWorkerGroupRequest |
parseFrom(java.nio.ByteBuffer data) |
static UpdateWorkerGroupRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateWorkerGroupRequest |
parseFrom(com.google.protobuf.ByteString data) |
static UpdateWorkerGroupRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateWorkerGroupRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UpdateWorkerGroupRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateWorkerGroupRequest |
parseFrom(java.io.InputStream input) |
static UpdateWorkerGroupRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UpdateWorkerGroupRequest> |
parser() |
UpdateWorkerGroupRequest.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 SPEC_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 UpdateWorkerGroupRequestOrBuilderpublic com.google.protobuf.ByteString getServiceIdBytes()
string service_id = 1;getServiceIdBytes in interface UpdateWorkerGroupRequestOrBuilderpublic long getGroupId()
uint64 group_id = 2;getGroupId in interface UpdateWorkerGroupRequestOrBuilderpublic boolean hasSpec()
optional, alter worker group size
.staros.WorkerGroupSpec spec = 3;hasSpec in interface UpdateWorkerGroupRequestOrBuilderpublic WorkerGroupSpec getSpec()
optional, alter worker group size
.staros.WorkerGroupSpec spec = 3;getSpec in interface UpdateWorkerGroupRequestOrBuilderpublic WorkerGroupSpecOrBuilder getSpecOrBuilder()
optional, alter worker group size
.staros.WorkerGroupSpec spec = 3;getSpecOrBuilder in interface UpdateWorkerGroupRequestOrBuilderpublic int getLabelsCount()
UpdateWorkerGroupRequestOrBuilderoptional, replace worker group labels
map<string, string> labels = 5;getLabelsCount in interface UpdateWorkerGroupRequestOrBuilderpublic boolean containsLabels(java.lang.String key)
optional, replace worker group labels
map<string, string> labels = 5;containsLabels in interface UpdateWorkerGroupRequestOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getLabels()
getLabelsMap() instead.getLabels in interface UpdateWorkerGroupRequestOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getLabelsMap()
optional, replace worker group labels
map<string, string> labels = 5;getLabelsMap in interface UpdateWorkerGroupRequestOrBuilderpublic java.lang.String getLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
optional, replace worker group labels
map<string, string> labels = 5;getLabelsOrDefault in interface UpdateWorkerGroupRequestOrBuilderpublic java.lang.String getLabelsOrThrow(java.lang.String key)
optional, replace worker group labels
map<string, string> labels = 5;getLabelsOrThrow in interface UpdateWorkerGroupRequestOrBuilderpublic int getPropertiesCount()
UpdateWorkerGroupRequestOrBuilderoptional, replace worker group properties
map<string, string> properties = 6;getPropertiesCount in interface UpdateWorkerGroupRequestOrBuilderpublic boolean containsProperties(java.lang.String key)
optional, replace worker group properties
map<string, string> properties = 6;containsProperties in interface UpdateWorkerGroupRequestOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getProperties()
getPropertiesMap() instead.getProperties in interface UpdateWorkerGroupRequestOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getPropertiesMap()
optional, replace worker group properties
map<string, string> properties = 6;getPropertiesMap in interface UpdateWorkerGroupRequestOrBuilderpublic java.lang.String getPropertiesOrDefault(java.lang.String key,
java.lang.String defaultValue)
optional, replace worker group properties
map<string, string> properties = 6;getPropertiesOrDefault in interface UpdateWorkerGroupRequestOrBuilderpublic java.lang.String getPropertiesOrThrow(java.lang.String key)
optional, replace worker group properties
map<string, string> properties = 6;getPropertiesOrThrow in interface UpdateWorkerGroupRequestOrBuilderpublic 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 UpdateWorkerGroupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateWorkerGroupRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateWorkerGroupRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateWorkerGroupRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateWorkerGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateWorkerGroupRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateWorkerGroupRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UpdateWorkerGroupRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UpdateWorkerGroupRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UpdateWorkerGroupRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static UpdateWorkerGroupRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static UpdateWorkerGroupRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic UpdateWorkerGroupRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UpdateWorkerGroupRequest.Builder newBuilder()
public static UpdateWorkerGroupRequest.Builder newBuilder(UpdateWorkerGroupRequest prototype)
public UpdateWorkerGroupRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UpdateWorkerGroupRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UpdateWorkerGroupRequest getDefaultInstance()
public static com.google.protobuf.Parser<UpdateWorkerGroupRequest> parser()
public com.google.protobuf.Parser<UpdateWorkerGroupRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UpdateWorkerGroupRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024. All rights reserved.