public final class GkeNodePoolTarget extends GeneratedMessageV3 implements GkeNodePoolTargetOrBuilder
GKE node pools that Dataproc workloads run on.
Protobuf type google.cloud.dataproc.v1.GkeNodePoolTarget
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
NODE_POOL_CONFIG_FIELD_NUMBER
public static final int NODE_POOL_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NODE_POOL_FIELD_NUMBER
public static final int NODE_POOL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ROLES_FIELD_NUMBER
public static final int ROLES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static GkeNodePoolTarget getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GkeNodePoolTarget.Builder newBuilder()
newBuilder(GkeNodePoolTarget prototype)
public static GkeNodePoolTarget.Builder newBuilder(GkeNodePoolTarget prototype)
public static GkeNodePoolTarget parseDelimitedFrom(InputStream input)
public static GkeNodePoolTarget parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GkeNodePoolTarget parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolTarget parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GkeNodePoolTarget parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolTarget parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolTarget parseFrom(CodedInputStream input)
public static GkeNodePoolTarget parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolTarget parseFrom(InputStream input)
public static GkeNodePoolTarget parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GkeNodePoolTarget parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GkeNodePoolTarget parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GkeNodePoolTarget> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public GkeNodePoolTarget getDefaultInstanceForType()
getNodePool()
public String getNodePool()
Required. The target GKE node pool.
Format:
'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The nodePool.
|
getNodePoolBytes()
public ByteString getNodePoolBytes()
Required. The target GKE node pool.
Format:
'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}'
string node_pool = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for nodePool.
|
getNodePoolConfig()
public GkeNodePoolConfig getNodePoolConfig()
Input only. The configuration for the GKE node pool.
If specified, Dataproc attempts to create a node pool with the
specified shape. If one with the same name already exists, it is
verified against all specified fields. If a field differs, the
virtual cluster creation will fail.
If omitted, any node pool with the specified name is used. If a
node pool with the specified name does not exist, Dataproc create a
node pool with default values.
This is an input only field. It will not be returned by the API.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = INPUT_ONLY];
getNodePoolConfigOrBuilder()
public GkeNodePoolConfigOrBuilder getNodePoolConfigOrBuilder()
Input only. The configuration for the GKE node pool.
If specified, Dataproc attempts to create a node pool with the
specified shape. If one with the same name already exists, it is
verified against all specified fields. If a field differs, the
virtual cluster creation will fail.
If omitted, any node pool with the specified name is used. If a
node pool with the specified name does not exist, Dataproc create a
node pool with default values.
This is an input only field. It will not be returned by the API.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = INPUT_ONLY];
getParserForType()
public Parser<GkeNodePoolTarget> getParserForType()
Overrides
getRoles(int index)
public GkeNodePoolTarget.Role getRoles(int index)
Required. The roles associated with the GKE node pool.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
getRolesCount()
public int getRolesCount()
Required. The roles associated with the GKE node pool.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | The count of roles.
|
getRolesList()
public List<GkeNodePoolTarget.Role> getRolesList()
Required. The roles associated with the GKE node pool.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<Role> | A list containing the roles.
|
getRolesValue(int index)
public int getRolesValue(int index)
Required. The roles associated with the GKE node pool.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
int | The enum numeric value on the wire of roles at the given index.
|
getRolesValueList()
public List<Integer> getRolesValueList()
Required. The roles associated with the GKE node pool.
repeated .google.cloud.dataproc.v1.GkeNodePoolTarget.Role roles = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for roles.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasNodePoolConfig()
public boolean hasNodePoolConfig()
Input only. The configuration for the GKE node pool.
If specified, Dataproc attempts to create a node pool with the
specified shape. If one with the same name already exists, it is
verified against all specified fields. If a field differs, the
virtual cluster creation will fail.
If omitted, any node pool with the specified name is used. If a
node pool with the specified name does not exist, Dataproc create a
node pool with default values.
This is an input only field. It will not be returned by the API.
.google.cloud.dataproc.v1.GkeNodePoolConfig node_pool_config = 3 [(.google.api.field_behavior) = INPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the nodePoolConfig field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GkeNodePoolTarget.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GkeNodePoolTarget.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GkeNodePoolTarget.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides