Class GetAwsNodePoolRequest.Builder (0.3.0)

public static final class GetAwsNodePoolRequest.Builder extends GeneratedMessageV3.Builder<GetAwsNodePoolRequest.Builder> implements GetAwsNodePoolRequestOrBuilder

Request message for AwsClusters.GetAwsNodePool method.

Protobuf type google.cloud.gkemulticloud.v1.GetAwsNodePoolRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetAwsNodePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides

build()

public GetAwsNodePoolRequest build()
Returns
TypeDescription
GetAwsNodePoolRequest

buildPartial()

public GetAwsNodePoolRequest buildPartial()
Returns
TypeDescription
GetAwsNodePoolRequest

clear()

public GetAwsNodePoolRequest.Builder clear()
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetAwsNodePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides

clearName()

public GetAwsNodePoolRequest.Builder clearName()

Required. The name of the AwsNodePool resource to describe. AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>. See Resource Names for more details on Google Cloud resource names.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetAwsNodePoolRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetAwsNodePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides

clone()

public GetAwsNodePoolRequest.Builder clone()
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides

getDefaultInstanceForType()

public GetAwsNodePoolRequest getDefaultInstanceForType()
Returns
TypeDescription
GetAwsNodePoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the AwsNodePool resource to describe. AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>. See Resource Names for more details on Google Cloud resource names.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the AwsNodePool resource to describe. AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>. See Resource Names for more details on Google Cloud resource names.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetAwsNodePoolRequest other)

public GetAwsNodePoolRequest.Builder mergeFrom(GetAwsNodePoolRequest other)
Parameter
NameDescription
otherGetAwsNodePoolRequest
Returns
TypeDescription
GetAwsNodePoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetAwsNodePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetAwsNodePoolRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetAwsNodePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetAwsNodePoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides

setName(String value)

public GetAwsNodePoolRequest.Builder setName(String value)

Required. The name of the AwsNodePool resource to describe. AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>. See Resource Names for more details on Google Cloud resource names.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetAwsNodePoolRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetAwsNodePoolRequest.Builder setNameBytes(ByteString value)

Required. The name of the AwsNodePool resource to describe. AwsNodePool names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>. See Resource Names for more details on Google Cloud resource names.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetAwsNodePoolRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetAwsNodePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetAwsNodePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetAwsNodePoolRequest.Builder
Overrides