Class BackendBucketUsedBy.Builder (1.64.0)

public static final class BackendBucketUsedBy.Builder extends GeneratedMessageV3.Builder<BackendBucketUsedBy.Builder> implements BackendBucketUsedByOrBuilder

Protobuf type google.cloud.compute.v1.BackendBucketUsedBy

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackendBucketUsedBy build()
Returns
Type Description
BackendBucketUsedBy

buildPartial()

public BackendBucketUsedBy buildPartial()
Returns
Type Description
BackendBucketUsedBy

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReference()

public BackendBucketUsedBy.Builder clearReference()

[Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.

optional string reference = 148586315;

Returns
Type Description
BackendBucketUsedBy.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BackendBucketUsedBy getDefaultInstanceForType()
Returns
Type Description
BackendBucketUsedBy

getDescriptorForType()

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

getReference()

public String getReference()

[Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.

optional string reference = 148586315;

Returns
Type Description
String

The reference.

getReferenceBytes()

public ByteString getReferenceBytes()

[Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.

optional string reference = 148586315;

Returns
Type Description
ByteString

The bytes for reference.

hasReference()

public boolean hasReference()

[Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.

optional string reference = 148586315;

Returns
Type Description
boolean

Whether the reference field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BackendBucketUsedBy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setReference(String value)

public BackendBucketUsedBy.Builder setReference(String value)

[Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.

optional string reference = 148586315;

Parameter
Name Description
value String

The reference to set.

Returns
Type Description
BackendBucketUsedBy.Builder

This builder for chaining.

setReferenceBytes(ByteString value)

public BackendBucketUsedBy.Builder setReferenceBytes(ByteString value)

[Output Only] Server-defined URL for UrlMaps referencing that BackendBucket.

optional string reference = 148586315;

Parameter
Name Description
value ByteString

The bytes for reference to set.

Returns
Type Description
BackendBucketUsedBy.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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