Class GetTargetPoolRequest.Builder

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetTargetPoolRequest build()
Returns
TypeDescription
GetTargetPoolRequest

buildPartial()

public GetTargetPoolRequest buildPartial()
Returns
TypeDescription
GetTargetPoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetTargetPoolRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GetTargetPoolRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetTargetPoolRequest getDefaultInstanceForType()
Returns
TypeDescription
GetTargetPoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

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

Returns
TypeDescription
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
TypeDescription
String

The targetPool.

getTargetPoolBytes()

public ByteString getTargetPoolBytes()

Name of the TargetPool resource to return.

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

Returns
TypeDescription
ByteString

The bytes for targetPool.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetTargetPoolRequest other)

public GetTargetPoolRequest.Builder mergeFrom(GetTargetPoolRequest other)
Parameter
NameDescription
otherGetTargetPoolRequest
Returns
TypeDescription
GetTargetPoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetTargetPoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
valueString

The region to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The targetPool to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for targetPool to set.

Returns
TypeDescription
GetTargetPoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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