Class GetRegionBackendServiceRequest.Builder (1.52.0)

public static final class GetRegionBackendServiceRequest.Builder extends GeneratedMessageV3.Builder<GetRegionBackendServiceRequest.Builder> implements GetRegionBackendServiceRequestOrBuilder

A request message for RegionBackendServices.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetRegionBackendServiceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionBackendServiceRequest build()
Returns
Type Description
GetRegionBackendServiceRequest

buildPartial()

public GetRegionBackendServiceRequest buildPartial()
Returns
Type Description
GetRegionBackendServiceRequest

clear()

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

clearBackendService()

public GetRegionBackendServiceRequest.Builder clearBackendService()

Name of the BackendService resource to return.

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

Returns
Type Description
GetRegionBackendServiceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionBackendServiceRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetRegionBackendServiceRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionBackendServiceRequest.Builder clearRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionBackendServiceRequest.Builder

This builder for chaining.

clone()

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

getBackendService()

public String getBackendService()

Name of the BackendService resource to return.

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 return.

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

Returns
Type Description
ByteString

The bytes for backendService.

getDefaultInstanceForType()

public GetRegionBackendServiceRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionBackendServiceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

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

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
Type Description
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
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetRegionBackendServiceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBackendService(String value)

public GetRegionBackendServiceRequest.Builder setBackendService(String value)

Name of the BackendService resource to return.

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

Parameter
Name Description
value String

The backendService to set.

Returns
Type Description
GetRegionBackendServiceRequest.Builder

This builder for chaining.

setBackendServiceBytes(ByteString value)

public GetRegionBackendServiceRequest.Builder setBackendServiceBytes(ByteString value)

Name of the BackendService resource to return.

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

Parameter
Name Description
value ByteString

The bytes for backendService to set.

Returns
Type Description
GetRegionBackendServiceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

public GetRegionBackendServiceRequest.Builder setProject(String value)

Project ID for this request.

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

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetRegionBackendServiceRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetRegionBackendServiceRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

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

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetRegionBackendServiceRequest.Builder

This builder for chaining.

setRegion(String value)

public GetRegionBackendServiceRequest.Builder setRegion(String value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetRegionBackendServiceRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionBackendServiceRequest.Builder setRegionBytes(ByteString value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetRegionBackendServiceRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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