Class GetTargetPoolRequest.Builder (1.65.0)

public static final class GetTargetPoolRequest.Builder extends GeneratedMessageV3.Builder<GetTargetPoolRequest.Builder> implements GetTargetPoolRequestOrBuilder

A request message for TargetPools.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetTargetPoolRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetTargetPoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides

build()

public GetTargetPoolRequest build()
Returns
Type Description
GetTargetPoolRequest

buildPartial()

public GetTargetPoolRequest buildPartial()
Returns
Type Description
GetTargetPoolRequest

clear()

public GetTargetPoolRequest.Builder clear()
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetTargetPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetTargetPoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides

clearProject()

public GetTargetPoolRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetTargetPoolRequest.Builder

This builder for chaining.

clearRegion()

public GetTargetPoolRequest.Builder clearRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetTargetPoolRequest.Builder

This builder for chaining.

clearTargetPool()

public GetTargetPoolRequest.Builder clearTargetPool()

Name of the TargetPool resource to return.

string target_pool = 62796298 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetTargetPoolRequest.Builder

This builder for chaining.

clone()

public GetTargetPoolRequest.Builder clone()
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides

getDefaultInstanceForType()

public GetTargetPoolRequest getDefaultInstanceForType()
Returns
Type Description
GetTargetPoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getRegion()

public String getRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

getTargetPool()

public String getTargetPool()

Name of the TargetPool resource to return.

string target_pool = 62796298 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The targetPool.

getTargetPoolBytes()

public ByteString getTargetPoolBytes()

Name of the TargetPool resource to return.

string target_pool = 62796298 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for targetPool.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetTargetPoolRequest other)

public GetTargetPoolRequest.Builder mergeFrom(GetTargetPoolRequest other)
Parameter
Name Description
other GetTargetPoolRequest
Returns
Type Description
GetTargetPoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetTargetPoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetTargetPoolRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetTargetPoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetTargetPoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides

setProject(String value)

public GetTargetPoolRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetTargetPoolRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetTargetPoolRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetTargetPoolRequest.Builder

This builder for chaining.

setRegion(String value)

public GetTargetPoolRequest.Builder setRegion(String value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetTargetPoolRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetTargetPoolRequest.Builder setRegionBytes(ByteString value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetTargetPoolRequest.Builder

This builder for chaining.

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

public GetTargetPoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides

setTargetPool(String value)

public GetTargetPoolRequest.Builder setTargetPool(String value)

Name of the TargetPool resource to return.

string target_pool = 62796298 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The targetPool to set.

Returns
Type Description
GetTargetPoolRequest.Builder

This builder for chaining.

setTargetPoolBytes(ByteString value)

public GetTargetPoolRequest.Builder setTargetPoolBytes(ByteString value)

Name of the TargetPool resource to return.

string target_pool = 62796298 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for targetPool to set.

Returns
Type Description
GetTargetPoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetTargetPoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetTargetPoolRequest.Builder
Overrides