Class GetHealthTargetPoolRequest.Builder (1.16.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetHealthTargetPoolRequest build()
Returns
TypeDescription
GetHealthTargetPoolRequest

buildPartial()

public GetHealthTargetPoolRequest buildPartial()
Returns
TypeDescription
GetHealthTargetPoolRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetHealthTargetPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetHealthTargetPoolRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetHealthTargetPoolRequest.Builder clearProject()

Project ID for this request.

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

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetHealthTargetPoolRequest getDefaultInstanceForType()
Returns
TypeDescription
GetHealthTargetPoolRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
InstanceReferenceOrBuilder

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

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

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

Whether the instanceReferenceResource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetHealthTargetPoolRequest other)

public GetHealthTargetPoolRequest.Builder mergeFrom(GetHealthTargetPoolRequest other)
Parameter
NameDescription
otherGetHealthTargetPoolRequest
Returns
TypeDescription
GetHealthTargetPoolRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GetHealthTargetPoolRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueInstanceReference
Returns
TypeDescription
GetHealthTargetPoolRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The project to set.

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

The bytes for project to set.

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

The region to set.

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

The bytes for region to set.

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

The targetPool to set.

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

The bytes for targetPool to set.

Returns
TypeDescription
GetHealthTargetPoolRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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