Class GetHealthBackendServiceRequest.Builder (1.59.0)

public static final class GetHealthBackendServiceRequest.Builder extends GeneratedMessageV3.Builder<GetHealthBackendServiceRequest.Builder> implements GetHealthBackendServiceRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetHealthBackendServiceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetHealthBackendServiceRequest build()
Returns
Type Description
GetHealthBackendServiceRequest

buildPartial()

public GetHealthBackendServiceRequest buildPartial()
Returns
Type Description
GetHealthBackendServiceRequest

clear()

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

clearBackendService()

public GetHealthBackendServiceRequest.Builder clearBackendService()

Name of the BackendService resource to which the queried instance belongs.

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

Returns
Type Description
GetHealthBackendServiceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetHealthBackendServiceRequest.Builder clearProject()

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

Returns
Type Description
GetHealthBackendServiceRequest.Builder

This builder for chaining.

clearResourceGroupReferenceResource()

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

clone()

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

getBackendService()

public String getBackendService()

Name of the BackendService resource to which the queried instance belongs.

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

Returns
Type Description
String

The backendService.

getBackendServiceBytes()

public ByteString getBackendServiceBytes()

Name of the BackendService resource to which the queried instance belongs.

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

Returns
Type Description
ByteString

The bytes for backendService.

getDefaultInstanceForType()

public GetHealthBackendServiceRequest getDefaultInstanceForType()
Returns
Type Description
GetHealthBackendServiceRequest

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.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeResourceGroupReferenceResource(ResourceGroupReference value)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBackendService(String value)

public GetHealthBackendServiceRequest.Builder setBackendService(String value)

Name of the BackendService resource to which the queried instance belongs.

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

Parameter
Name Description
value String

The backendService to set.

Returns
Type Description
GetHealthBackendServiceRequest.Builder

This builder for chaining.

setBackendServiceBytes(ByteString value)

public GetHealthBackendServiceRequest.Builder setBackendServiceBytes(ByteString value)

Name of the BackendService resource to which the queried instance belongs.

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

Parameter
Name Description
value ByteString

The bytes for backendService to set.

Returns
Type Description
GetHealthBackendServiceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

public GetHealthBackendServiceRequest.Builder setProject(String value)

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

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetHealthBackendServiceRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

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

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

setResourceGroupReferenceResource(ResourceGroupReference value)

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

setResourceGroupReferenceResource(ResourceGroupReference.Builder builderForValue)

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

setUnknownFields(UnknownFieldSet unknownFields)

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