Send feedback
Class GetHealthBackendServiceRequest.Builder (1.65.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.65.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetHealthBackendServiceRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GetHealthBackendServiceRequest build ()
buildPartial()
public GetHealthBackendServiceRequest buildPartial ()
clear()
public GetHealthBackendServiceRequest . Builder clear ()
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];
clearField(Descriptors.FieldDescriptor field)
public GetHealthBackendServiceRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetHealthBackendServiceRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearProject()
public GetHealthBackendServiceRequest . Builder clearProject ()
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
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];
clone()
public GetHealthBackendServiceRequest . Builder clone ()
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 ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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];
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];
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];
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GetHealthBackendServiceRequest other)
public GetHealthBackendServiceRequest . Builder mergeFrom ( GetHealthBackendServiceRequest other )
public GetHealthBackendServiceRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GetHealthBackendServiceRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetHealthBackendServiceRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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.
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.
setField(Descriptors.FieldDescriptor field, Object value)
public GetHealthBackendServiceRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
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.
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.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetHealthBackendServiceRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final GetHealthBackendServiceRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]