Class GetHealthRegionBackendServiceRequest.Builder (1.57.0)

public static final class GetHealthRegionBackendServiceRequest.Builder extends GeneratedMessageV3.Builder<GetHealthRegionBackendServiceRequest.Builder> implements GetHealthRegionBackendServiceRequestOrBuilder

A request message for RegionBackendServices.GetHealth. See the method description for details.

Protobuf type google.cloud.compute.v1.GetHealthRegionBackendServiceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetHealthRegionBackendServiceRequest build()
Returns
Type Description
GetHealthRegionBackendServiceRequest

buildPartial()

public GetHealthRegionBackendServiceRequest buildPartial()
Returns
Type Description
GetHealthRegionBackendServiceRequest

clear()

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

clearBackendService()

public GetHealthRegionBackendServiceRequest.Builder clearBackendService()

Name of the BackendService resource for which to get health.

string backend_service = 306946058 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetHealthRegionBackendServiceRequest.Builder clearProject()

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

Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

This builder for chaining.

clearRegion()

public GetHealthRegionBackendServiceRequest.Builder clearRegion()

Name of the region scoping this request.

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

Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

This builder for chaining.

clearResourceGroupReferenceResource()

public GetHealthRegionBackendServiceRequest.Builder clearResourceGroupReferenceResource()

The body resource for this request

.google.cloud.compute.v1.ResourceGroupReference resource_group_reference_resource = 112951123 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

clone()

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

getBackendService()

public String getBackendService()

Name of the BackendService resource for which to get health.

string backend_service = 306946058 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The backendService.

getBackendServiceBytes()

public ByteString getBackendServiceBytes()

Name of the BackendService resource for which to get health.

string backend_service = 306946058 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for backendService.

getDefaultInstanceForType()

public GetHealthRegionBackendServiceRequest getDefaultInstanceForType()
Returns
Type Description
GetHealthRegionBackendServiceRequest

getDescriptorForType()

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

getProject()

public String getProject()

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

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

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.

getResourceGroupReferenceResource()

public ResourceGroupReference getResourceGroupReferenceResource()

The body resource for this request

.google.cloud.compute.v1.ResourceGroupReference resource_group_reference_resource = 112951123 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResourceGroupReference

The resourceGroupReferenceResource.

getResourceGroupReferenceResourceBuilder()

public ResourceGroupReference.Builder getResourceGroupReferenceResourceBuilder()

The body resource for this request

.google.cloud.compute.v1.ResourceGroupReference resource_group_reference_resource = 112951123 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResourceGroupReference.Builder

getResourceGroupReferenceResourceOrBuilder()

public ResourceGroupReferenceOrBuilder getResourceGroupReferenceResourceOrBuilder()

The body resource for this request

.google.cloud.compute.v1.ResourceGroupReference resource_group_reference_resource = 112951123 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ResourceGroupReferenceOrBuilder

hasResourceGroupReferenceResource()

public boolean hasResourceGroupReferenceResource()

The body resource for this request

.google.cloud.compute.v1.ResourceGroupReference resource_group_reference_resource = 112951123 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the resourceGroupReferenceResource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetHealthRegionBackendServiceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResourceGroupReferenceResource(ResourceGroupReference value)

public GetHealthRegionBackendServiceRequest.Builder mergeResourceGroupReferenceResource(ResourceGroupReference value)

The body resource for this request

.google.cloud.compute.v1.ResourceGroupReference resource_group_reference_resource = 112951123 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ResourceGroupReference
Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBackendService(String value)

public GetHealthRegionBackendServiceRequest.Builder setBackendService(String value)

Name of the BackendService resource for which to get health.

string backend_service = 306946058 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The backendService to set.

Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

This builder for chaining.

setBackendServiceBytes(ByteString value)

public GetHealthRegionBackendServiceRequest.Builder setBackendServiceBytes(ByteString value)

Name of the BackendService resource for which to get health.

string backend_service = 306946058 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for backendService to set.

Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

public GetHealthRegionBackendServiceRequest.Builder setProject(String value)

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

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetHealthRegionBackendServiceRequest.Builder setProjectBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

This builder for chaining.

setRegion(String value)

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

This builder for chaining.

setRegionBytes(ByteString value)

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

This builder for chaining.

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

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

setResourceGroupReferenceResource(ResourceGroupReference value)

public GetHealthRegionBackendServiceRequest.Builder setResourceGroupReferenceResource(ResourceGroupReference value)

The body resource for this request

.google.cloud.compute.v1.ResourceGroupReference resource_group_reference_resource = 112951123 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ResourceGroupReference
Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

setResourceGroupReferenceResource(ResourceGroupReference.Builder builderForValue)

public GetHealthRegionBackendServiceRequest.Builder setResourceGroupReferenceResource(ResourceGroupReference.Builder builderForValue)

The body resource for this request

.google.cloud.compute.v1.ResourceGroupReference resource_group_reference_resource = 112951123 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ResourceGroupReference.Builder
Returns
Type Description
GetHealthRegionBackendServiceRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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