Class GetBackendBucketRequest.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetBackendBucketRequest build()
Returns
TypeDescription
GetBackendBucketRequest

buildPartial()

public GetBackendBucketRequest buildPartial()
Returns
TypeDescription
GetBackendBucketRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetBackendBucketRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetBackendBucketRequest.Builder

This builder for chaining.

clone()

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

getBackendBucket()

public String getBackendBucket()

Name of the BackendBucket resource to return.

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

Returns
TypeDescription
String

The backendBucket.

getBackendBucketBytes()

public ByteString getBackendBucketBytes()

Name of the BackendBucket resource to return.

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

Returns
TypeDescription
ByteString

The bytes for backendBucket.

getDefaultInstanceForType()

public GetBackendBucketRequest getDefaultInstanceForType()
Returns
TypeDescription
GetBackendBucketRequest

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetBackendBucketRequest other)

public GetBackendBucketRequest.Builder mergeFrom(GetBackendBucketRequest other)
Parameter
NameDescription
otherGetBackendBucketRequest
Returns
TypeDescription
GetBackendBucketRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The backendBucket to set.

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

The bytes for backendBucket to set.

Returns
TypeDescription
GetBackendBucketRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The project to set.

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

The bytes for project to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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