Class GetHealthTargetPoolRequest.Builder (1.59.0)

public static final class GetHealthTargetPoolRequest.Builder extends GeneratedMessageV3.Builder<GetHealthTargetPoolRequest.Builder> implements GetHealthTargetPoolRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetHealthTargetPoolRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetHealthTargetPoolRequest build()
Returns
Type Description
GetHealthTargetPoolRequest

buildPartial()

public GetHealthTargetPoolRequest buildPartial()
Returns
Type Description
GetHealthTargetPoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceReferenceResource()

public GetHealthTargetPoolRequest.Builder clearInstanceReferenceResource()

The body resource for this request

.google.cloud.compute.v1.InstanceReference instance_reference_resource = 292926060 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetHealthTargetPoolRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetHealthTargetPoolRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetHealthTargetPoolRequest.Builder

This builder for chaining.

clearRegion()

public GetHealthTargetPoolRequest.Builder clearRegion()

Name of the region scoping this request.

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

Returns
Type Description
GetHealthTargetPoolRequest.Builder

This builder for chaining.

clearTargetPool()

public GetHealthTargetPoolRequest.Builder clearTargetPool()

Name of the TargetPool resource to which the queried instance belongs.

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

Returns
Type Description
GetHealthTargetPoolRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetHealthTargetPoolRequest getDefaultInstanceForType()
Returns
Type Description
GetHealthTargetPoolRequest

getDescriptorForType()

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

getInstanceReferenceResource()

public InstanceReference getInstanceReferenceResource()

The body resource for this request

.google.cloud.compute.v1.InstanceReference instance_reference_resource = 292926060 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstanceReference

The instanceReferenceResource.

getInstanceReferenceResourceBuilder()

public InstanceReference.Builder getInstanceReferenceResourceBuilder()

The body resource for this request

.google.cloud.compute.v1.InstanceReference instance_reference_resource = 292926060 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstanceReference.Builder

getInstanceReferenceResourceOrBuilder()

public InstanceReferenceOrBuilder getInstanceReferenceResourceOrBuilder()

The body resource for this request

.google.cloud.compute.v1.InstanceReference instance_reference_resource = 292926060 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InstanceReferenceOrBuilder

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 which the queried instance belongs.

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 which the queried instance belongs.

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

Returns
Type Description
ByteString

The bytes for targetPool.

hasInstanceReferenceResource()

public boolean hasInstanceReferenceResource()

The body resource for this request

.google.cloud.compute.v1.InstanceReference instance_reference_resource = 292926060 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the instanceReferenceResource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetHealthTargetPoolRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInstanceReferenceResource(InstanceReference value)

public GetHealthTargetPoolRequest.Builder mergeInstanceReferenceResource(InstanceReference value)

The body resource for this request

.google.cloud.compute.v1.InstanceReference instance_reference_resource = 292926060 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value InstanceReference
Returns
Type Description
GetHealthTargetPoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceReferenceResource(InstanceReference value)

public GetHealthTargetPoolRequest.Builder setInstanceReferenceResource(InstanceReference value)

The body resource for this request

.google.cloud.compute.v1.InstanceReference instance_reference_resource = 292926060 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value InstanceReference
Returns
Type Description
GetHealthTargetPoolRequest.Builder

setInstanceReferenceResource(InstanceReference.Builder builderForValue)

public GetHealthTargetPoolRequest.Builder setInstanceReferenceResource(InstanceReference.Builder builderForValue)

The body resource for this request

.google.cloud.compute.v1.InstanceReference instance_reference_resource = 292926060 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue InstanceReference.Builder
Returns
Type Description
GetHealthTargetPoolRequest.Builder

setProject(String value)

public GetHealthTargetPoolRequest.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
GetHealthTargetPoolRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetHealthTargetPoolRequest.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
GetHealthTargetPoolRequest.Builder

This builder for chaining.

setRegion(String value)

public GetHealthTargetPoolRequest.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
GetHealthTargetPoolRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetHealthTargetPoolRequest.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
GetHealthTargetPoolRequest.Builder

This builder for chaining.

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

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

setTargetPool(String value)

public GetHealthTargetPoolRequest.Builder setTargetPool(String value)

Name of the TargetPool resource to which the queried instance belongs.

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

Parameter
Name Description
value String

The targetPool to set.

Returns
Type Description
GetHealthTargetPoolRequest.Builder

This builder for chaining.

setTargetPoolBytes(ByteString value)

public GetHealthTargetPoolRequest.Builder setTargetPoolBytes(ByteString value)

Name of the TargetPool resource to which the queried instance belongs.

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

Parameter
Name Description
value ByteString

The bytes for targetPool to set.

Returns
Type Description
GetHealthTargetPoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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