Class GetRegionHealthCheckServiceRequest.Builder (1.56.0)

public static final class GetRegionHealthCheckServiceRequest.Builder extends GeneratedMessageV3.Builder<GetRegionHealthCheckServiceRequest.Builder> implements GetRegionHealthCheckServiceRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetRegionHealthCheckServiceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionHealthCheckServiceRequest build()
Returns
Type Description
GetRegionHealthCheckServiceRequest

buildPartial()

public GetRegionHealthCheckServiceRequest buildPartial()
Returns
Type Description
GetRegionHealthCheckServiceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHealthCheckService()

public GetRegionHealthCheckServiceRequest.Builder clearHealthCheckService()

Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.

string health_check_service = 408374747 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionHealthCheckServiceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionHealthCheckServiceRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetRegionHealthCheckServiceRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionHealthCheckServiceRequest.Builder clearRegion()

Name of the region scoping this request.

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

Returns
Type Description
GetRegionHealthCheckServiceRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionHealthCheckServiceRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionHealthCheckServiceRequest

getDescriptorForType()

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

getHealthCheckService()

public String getHealthCheckService()

Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.

string health_check_service = 408374747 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The healthCheckService.

getHealthCheckServiceBytes()

public ByteString getHealthCheckServiceBytes()

Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.

string health_check_service = 408374747 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for healthCheckService.

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(GetRegionHealthCheckServiceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHealthCheckService(String value)

public GetRegionHealthCheckServiceRequest.Builder setHealthCheckService(String value)

Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.

string health_check_service = 408374747 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The healthCheckService to set.

Returns
Type Description
GetRegionHealthCheckServiceRequest.Builder

This builder for chaining.

setHealthCheckServiceBytes(ByteString value)

public GetRegionHealthCheckServiceRequest.Builder setHealthCheckServiceBytes(ByteString value)

Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.

string health_check_service = 408374747 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for healthCheckService to set.

Returns
Type Description
GetRegionHealthCheckServiceRequest.Builder

This builder for chaining.

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

setRegion(String value)

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

This builder for chaining.

setRegionBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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