Class GetRegionHealthCheckRequest.Builder (1.50.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionHealthCheckRequest build()
Returns
TypeDescription
GetRegionHealthCheckRequest

buildPartial()

public GetRegionHealthCheckRequest buildPartial()
Returns
TypeDescription
GetRegionHealthCheckRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionHealthCheckRequest.Builder clearProject()

Project ID for this request.

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

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionHealthCheckRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionHealthCheckRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHealthCheck()

public String getHealthCheck()

Name of the HealthCheck resource to return.

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

Returns
TypeDescription
String

The healthCheck.

getHealthCheckBytes()

public ByteString getHealthCheckBytes()

Name of the HealthCheck resource to return.

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

Returns
TypeDescription
ByteString

The bytes for healthCheck.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetRegionHealthCheckRequest other)

public GetRegionHealthCheckRequest.Builder mergeFrom(GetRegionHealthCheckRequest other)
Parameter
NameDescription
otherGetRegionHealthCheckRequest
Returns
TypeDescription
GetRegionHealthCheckRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The healthCheck to set.

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

The bytes for healthCheck to set.

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

The project to set.

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

The bytes for project to set.

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

The region to set.

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

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetRegionHealthCheckRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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