Class BackendServiceUsedBy.Builder (1.58.0)

public static final class BackendServiceUsedBy.Builder extends GeneratedMessageV3.Builder<BackendServiceUsedBy.Builder> implements BackendServiceUsedByOrBuilder

Protobuf type google.cloud.compute.v1.BackendServiceUsedBy

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackendServiceUsedBy build()
Returns
Type Description
BackendServiceUsedBy

buildPartial()

public BackendServiceUsedBy buildPartial()
Returns
Type Description
BackendServiceUsedBy

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReference()

public BackendServiceUsedBy.Builder clearReference()

optional string reference = 148586315;

Returns
Type Description
BackendServiceUsedBy.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BackendServiceUsedBy getDefaultInstanceForType()
Returns
Type Description
BackendServiceUsedBy

getDescriptorForType()

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

getReference()

public String getReference()

optional string reference = 148586315;

Returns
Type Description
String

The reference.

getReferenceBytes()

public ByteString getReferenceBytes()

optional string reference = 148586315;

Returns
Type Description
ByteString

The bytes for reference.

hasReference()

public boolean hasReference()

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(BackendServiceUsedBy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setReference(String value)

public BackendServiceUsedBy.Builder setReference(String value)

optional string reference = 148586315;

Parameter
Name Description
value String

The reference to set.

Returns
Type Description
BackendServiceUsedBy.Builder

This builder for chaining.

setReferenceBytes(ByteString value)

public BackendServiceUsedBy.Builder setReferenceBytes(ByteString value)

optional string reference = 148586315;

Parameter
Name Description
value ByteString

The bytes for reference to set.

Returns
Type Description
BackendServiceUsedBy.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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