Class GetRegionHealthCheckServiceRequest.Builder (1.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionHealthCheckServiceRequest build()
Returns
TypeDescription
GetRegionHealthCheckServiceRequest

buildPartial()

public GetRegionHealthCheckServiceRequest buildPartial()
Returns
TypeDescription
GetRegionHealthCheckServiceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionHealthCheckServiceRequest.Builder clearProject()

Project ID for this request.

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

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionHealthCheckServiceRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionHealthCheckServiceRequest

getDescriptorForType()

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

The bytes for healthCheckService.

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

public GetRegionHealthCheckServiceRequest.Builder mergeFrom(GetRegionHealthCheckServiceRequest other)
Parameter
NameDescription
otherGetRegionHealthCheckServiceRequest
Returns
TypeDescription
GetRegionHealthCheckServiceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The healthCheckService to set.

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

The bytes for healthCheckService to set.

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

The project to set.

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

The bytes for project to set.

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

The region to set.

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

The bytes for region to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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