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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetHealthBackendServiceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetHealthBackendServiceRequest build()
Returns
buildPartial()
public GetHealthBackendServiceRequest buildPartial()
Returns
clear()
public GetHealthBackendServiceRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public GetHealthBackendServiceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetHealthBackendServiceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProject()
public GetHealthBackendServiceRequest.Builder clearProject()
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
Returns
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
clone()
public GetHealthBackendServiceRequest.Builder clone()
Returns
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetHealthBackendServiceRequest other)
public GetHealthBackendServiceRequest.Builder mergeFrom(GetHealthBackendServiceRequest other)
Parameter
Returns
public GetHealthBackendServiceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetHealthBackendServiceRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetHealthBackendServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public GetHealthBackendServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetHealthBackendServiceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final GetHealthBackendServiceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides