Class GetRegionHealthCheckRequest.Builder (1.55.0)

public static final class GetRegionHealthCheckRequest.Builder extends GeneratedMessageV3.Builder<GetRegionHealthCheckRequest.Builder> implements GetRegionHealthCheckRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetRegionHealthCheckRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionHealthCheckRequest build()
Returns
Type Description
GetRegionHealthCheckRequest

buildPartial()

public GetRegionHealthCheckRequest buildPartial()
Returns
Type Description
GetRegionHealthCheckRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHealthCheck()

public GetRegionHealthCheckRequest.Builder clearHealthCheck()

Name of the HealthCheck resource to return.

string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionHealthCheckRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionHealthCheckRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetRegionHealthCheckRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionHealthCheckRequest.Builder clearRegion()

Name of the region scoping this request.

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

Returns
Type Description
GetRegionHealthCheckRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionHealthCheckRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionHealthCheckRequest

getDescriptorForType()

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

getHealthCheck()

public String getHealthCheck()

Name of the HealthCheck resource to return.

string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The healthCheck.

getHealthCheckBytes()

public ByteString getHealthCheckBytes()

Name of the HealthCheck resource to return.

string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for healthCheck.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetRegionHealthCheckRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHealthCheck(String value)

public GetRegionHealthCheckRequest.Builder setHealthCheck(String value)

Name of the HealthCheck resource to return.

string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The healthCheck to set.

Returns
Type Description
GetRegionHealthCheckRequest.Builder

This builder for chaining.

setHealthCheckBytes(ByteString value)

public GetRegionHealthCheckRequest.Builder setHealthCheckBytes(ByteString value)

Name of the HealthCheck resource to return.

string health_check = 308876645 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for healthCheck to set.

Returns
Type Description
GetRegionHealthCheckRequest.Builder

This builder for chaining.

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

setRegion(String value)

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

This builder for chaining.

setRegionBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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