Class GetRegionBackendServiceRequest.Builder (1.7.2)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionBackendServiceRequest build()
Returns
TypeDescription
GetRegionBackendServiceRequest

buildPartial()

public GetRegionBackendServiceRequest buildPartial()
Returns
TypeDescription
GetRegionBackendServiceRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionBackendServiceRequest.Builder clearProject()

Project ID for this request.

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

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

This builder for chaining.

clone()

public GetRegionBackendServiceRequest.Builder clone()
Returns
TypeDescription
GetRegionBackendServiceRequest.Builder
Overrides

getBackendService()

public String getBackendService()

Name of the BackendService resource to return.

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

Returns
TypeDescription
String

The backendService.

getBackendServiceBytes()

public ByteString getBackendServiceBytes()

Name of the BackendService resource to return.

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

Returns
TypeDescription
ByteString

The bytes for backendService.

getDefaultInstanceForType()

public GetRegionBackendServiceRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionBackendServiceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

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

Returns
TypeDescription
ByteString

The bytes for region.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetRegionBackendServiceRequest other)

public GetRegionBackendServiceRequest.Builder mergeFrom(GetRegionBackendServiceRequest other)
Parameter
NameDescription
otherGetRegionBackendServiceRequest
Returns
TypeDescription
GetRegionBackendServiceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GetRegionBackendServiceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetRegionBackendServiceRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The backendService to set.

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

The bytes for backendService to set.

Returns
TypeDescription
GetRegionBackendServiceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GetRegionBackendServiceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The project to set.

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

The bytes for project to set.

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

The region to set.

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

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetRegionBackendServiceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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