public final class ClusterSelector extends com.google.protobuf.GeneratedMessageV3 implements ClusterSelectorOrBuilder
A selector that chooses target cluster for jobs based on metadata.Protobuf type
google.cloud.dataproc.v1.ClusterSelector| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterSelector.Builder
A selector that chooses target cluster for jobs based on metadata.
|
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 |
CLUSTER_LABELS_FIELD_NUMBER |
static int |
ZONE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsClusterLabels(String key)
Required.
|
boolean |
equals(Object obj) |
Map<String,String> |
getClusterLabels()
Deprecated.
|
int |
getClusterLabelsCount()
Required.
|
Map<String,String> |
getClusterLabelsMap()
Required.
|
String |
getClusterLabelsOrDefault(String key,
String defaultValue)
Required.
|
String |
getClusterLabelsOrThrow(String key)
Required.
|
static ClusterSelector |
getDefaultInstance() |
ClusterSelector |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ClusterSelector> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getZone()
Optional.
|
com.google.protobuf.ByteString |
getZoneBytes()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ClusterSelector.Builder |
newBuilder() |
static ClusterSelector.Builder |
newBuilder(ClusterSelector prototype) |
ClusterSelector.Builder |
newBuilderForType() |
protected ClusterSelector.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ClusterSelector |
parseDelimitedFrom(InputStream input) |
static ClusterSelector |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterSelector |
parseFrom(byte[] data) |
static ClusterSelector |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterSelector |
parseFrom(ByteBuffer data) |
static ClusterSelector |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterSelector |
parseFrom(com.google.protobuf.ByteString data) |
static ClusterSelector |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterSelector |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClusterSelector |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClusterSelector |
parseFrom(InputStream input) |
static ClusterSelector |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ClusterSelector> |
parser() |
ClusterSelector.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, newInstance, 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 ZONE_FIELD_NUMBER
public static final int CLUSTER_LABELS_FIELD_NUMBER
public 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 String getZone()
Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster. If unspecified, the zone of the first cluster matching the selector is used.
string zone = 1;getZone in interface ClusterSelectorOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
Optional. The zone where workflow process executes. This parameter does not affect the selection of the cluster. If unspecified, the zone of the first cluster matching the selector is used.
string zone = 1;getZoneBytes in interface ClusterSelectorOrBuilderpublic int getClusterLabelsCount()
ClusterSelectorOrBuilderRequired. The cluster labels. Cluster must have all labels to match.
map<string, string> cluster_labels = 2;getClusterLabelsCount in interface ClusterSelectorOrBuilderpublic boolean containsClusterLabels(String key)
Required. The cluster labels. Cluster must have all labels to match.
map<string, string> cluster_labels = 2;containsClusterLabels in interface ClusterSelectorOrBuilder@Deprecated public Map<String,String> getClusterLabels()
getClusterLabelsMap() instead.getClusterLabels in interface ClusterSelectorOrBuilderpublic Map<String,String> getClusterLabelsMap()
Required. The cluster labels. Cluster must have all labels to match.
map<string, string> cluster_labels = 2;getClusterLabelsMap in interface ClusterSelectorOrBuilderpublic String getClusterLabelsOrDefault(String key, String defaultValue)
Required. The cluster labels. Cluster must have all labels to match.
map<string, string> cluster_labels = 2;getClusterLabelsOrDefault in interface ClusterSelectorOrBuilderpublic String getClusterLabelsOrThrow(String key)
Required. The cluster labels. Cluster must have all labels to match.
map<string, string> cluster_labels = 2;getClusterLabelsOrThrow in interface ClusterSelectorOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(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 ClusterSelector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterSelector parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterSelector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterSelector parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterSelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterSelector parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClusterSelector parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClusterSelector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClusterSelector parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClusterSelector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClusterSelector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClusterSelector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ClusterSelector.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ClusterSelector.Builder newBuilder()
public static ClusterSelector.Builder newBuilder(ClusterSelector prototype)
public ClusterSelector.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ClusterSelector.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ClusterSelector getDefaultInstance()
public static com.google.protobuf.Parser<ClusterSelector> parser()
public com.google.protobuf.Parser<ClusterSelector> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ClusterSelector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.