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