Class GetHealthBackendServiceRequest.Builder (1.12.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetHealthBackendServiceRequest build()
Returns
TypeDescription
GetHealthBackendServiceRequest

buildPartial()

public GetHealthBackendServiceRequest buildPartial()
Returns
TypeDescription
GetHealthBackendServiceRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetHealthBackendServiceRequest.Builder clearProject()

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

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

clone()

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

The bytes for backendService.

getDefaultInstanceForType()

public GetHealthBackendServiceRequest getDefaultInstanceForType()
Returns
TypeDescription
GetHealthBackendServiceRequest

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.

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

public GetHealthBackendServiceRequest.Builder mergeFrom(GetHealthBackendServiceRequest other)
Parameter
NameDescription
otherGetHealthBackendServiceRequest
Returns
TypeDescription
GetHealthBackendServiceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The backendService to set.

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

The bytes for backendService to set.

Returns
TypeDescription
GetHealthBackendServiceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

public GetHealthBackendServiceRequest.Builder setProject(String value)

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

Parameter
NameDescription
valueString

The project to set.

Returns
TypeDescription
GetHealthBackendServiceRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetHealthBackendServiceRequest.Builder setProjectBytes(ByteString value)

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

Parameter
NameDescription
valueByteString

The bytes for project to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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