public final class CreateNodePoolRequest extends GeneratedMessageV3 implements CreateNodePoolRequestOrBuilder
Creates a node pool.
Protobuf type google.cloud.edgecontainer.v1.CreateNodePoolRequest
Static Fields
NODE_POOL_FIELD_NUMBER
public static final int NODE_POOL_FIELD_NUMBER
Field Value
NODE_POOL_ID_FIELD_NUMBER
public static final int NODE_POOL_ID_FIELD_NUMBER
Field Value
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateNodePoolRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateNodePoolRequest.Builder newBuilder()
Returns
newBuilder(CreateNodePoolRequest prototype)
public static CreateNodePoolRequest.Builder newBuilder(CreateNodePoolRequest prototype)
Parameter
Returns
public static CreateNodePoolRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateNodePoolRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateNodePoolRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateNodePoolRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateNodePoolRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateNodePoolRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateNodePoolRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateNodePoolRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateNodePoolRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateNodePoolRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateNodePoolRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateNodePoolRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateNodePoolRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CreateNodePoolRequest getDefaultInstanceForType()
Returns
getNodePool()
public NodePool getNodePool()
Required. The node pool to create.
.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getNodePoolId()
public String getNodePoolId()
Required. A client-specified unique identifier for the node pool.
string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The nodePoolId.
|
getNodePoolIdBytes()
public ByteString getNodePoolIdBytes()
Required. A client-specified unique identifier for the node pool.
string node_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for nodePoolId.
|
getNodePoolOrBuilder()
public NodePoolOrBuilder getNodePoolOrBuilder()
Required. The node pool to create.
.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getParent()
public String getParent()
Required. The parent cluster where this node pool will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The parent cluster where this node pool will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getParserForType()
public Parser<CreateNodePoolRequest> getParserForType()
Returns
Overrides
getRequestId()
public String getRequestId()
A unique identifier for this request. Restricted to 36 ASCII characters. A
random UUID is recommended. This request is only idempotent if
request_id
is provided.
string request_id = 4;
Returns
Type | Description |
String | The requestId.
|
getRequestIdBytes()
public ByteString getRequestIdBytes()
A unique identifier for this request. Restricted to 36 ASCII characters. A
random UUID is recommended. This request is only idempotent if
request_id
is provided.
string request_id = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasNodePool()
public boolean hasNodePool()
Required. The node pool to create.
.google.cloud.edgecontainer.v1.NodePool node_pool = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the nodePool field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateNodePoolRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateNodePoolRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CreateNodePoolRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions