Class GetHealthRegionBackendServiceRequest.Builder (1.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetHealthRegionBackendServiceRequest build()
Returns
TypeDescription
GetHealthRegionBackendServiceRequest

buildPartial()

public GetHealthRegionBackendServiceRequest buildPartial()
Returns
TypeDescription
GetHealthRegionBackendServiceRequest

clear()

public GetHealthRegionBackendServiceRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
GetHealthRegionBackendServiceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GetHealthRegionBackendServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetHealthRegionBackendServiceRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetHealthRegionBackendServiceRequest.Builder clearProject()

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

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

clone()

public GetHealthRegionBackendServiceRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for backendService.

getDefaultInstanceForType()

public GetHealthRegionBackendServiceRequest getDefaultInstanceForType()
Returns
TypeDescription
GetHealthRegionBackendServiceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProject()

public String getProject()

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

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.

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the resourceGroupReferenceResource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetHealthRegionBackendServiceRequest other)

public GetHealthRegionBackendServiceRequest.Builder mergeFrom(GetHealthRegionBackendServiceRequest other)
Parameter
NameDescription
otherGetHealthRegionBackendServiceRequest
Returns
TypeDescription
GetHealthRegionBackendServiceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GetHealthRegionBackendServiceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueResourceGroupReference
Returns
TypeDescription
GetHealthRegionBackendServiceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetHealthRegionBackendServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The backendService to set.

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

The bytes for backendService to set.

Returns
TypeDescription
GetHealthRegionBackendServiceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

public GetHealthRegionBackendServiceRequest.Builder setProject(String value)

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

Parameter
NameDescription
valueString

The project to set.

Returns
TypeDescription
GetHealthRegionBackendServiceRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetHealthRegionBackendServiceRequest.Builder setProjectBytes(ByteString value)

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

Parameter
NameDescription
valueByteString

The bytes for project to set.

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

The region to set.

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

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueResourceGroupReference
Returns
TypeDescription
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
NameDescription
builderForValueResourceGroupReference.Builder
Returns
TypeDescription
GetHealthRegionBackendServiceRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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