Class GetBackendBucketRequest.Builder (1.56.0)

public static final class GetBackendBucketRequest.Builder extends GeneratedMessageV3.Builder<GetBackendBucketRequest.Builder> implements GetBackendBucketRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetBackendBucketRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetBackendBucketRequest build()
Returns
Type Description
GetBackendBucketRequest

buildPartial()

public GetBackendBucketRequest buildPartial()
Returns
Type Description
GetBackendBucketRequest

clear()

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

clearBackendBucket()

public GetBackendBucketRequest.Builder clearBackendBucket()

Name of the BackendBucket resource to return.

string backend_bucket = 91714037 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetBackendBucketRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetBackendBucketRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetBackendBucketRequest.Builder

This builder for chaining.

clone()

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

getBackendBucket()

public String getBackendBucket()

Name of the BackendBucket resource to return.

string backend_bucket = 91714037 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The backendBucket.

getBackendBucketBytes()

public ByteString getBackendBucketBytes()

Name of the BackendBucket resource to return.

string backend_bucket = 91714037 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for backendBucket.

getDefaultInstanceForType()

public GetBackendBucketRequest getDefaultInstanceForType()
Returns
Type Description
GetBackendBucketRequest

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetBackendBucketRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBackendBucket(String value)

public GetBackendBucketRequest.Builder setBackendBucket(String value)

Name of the BackendBucket resource to return.

string backend_bucket = 91714037 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The backendBucket to set.

Returns
Type Description
GetBackendBucketRequest.Builder

This builder for chaining.

setBackendBucketBytes(ByteString value)

public GetBackendBucketRequest.Builder setBackendBucketBytes(ByteString value)

Name of the BackendBucket resource to return.

string backend_bucket = 91714037 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for backendBucket to set.

Returns
Type Description
GetBackendBucketRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

public GetBackendBucketRequest.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
GetBackendBucketRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetBackendBucketRequest.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
GetBackendBucketRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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