Class BackendServiceUsedBy.Builder (1.46.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackendServiceUsedBy build()
Returns
TypeDescription
BackendServiceUsedBy

buildPartial()

public BackendServiceUsedBy buildPartial()
Returns
TypeDescription
BackendServiceUsedBy

clear()

public BackendServiceUsedBy.Builder clear()
Returns
TypeDescription
BackendServiceUsedBy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReference()

public BackendServiceUsedBy.Builder clearReference()

optional string reference = 148586315;

Returns
TypeDescription
BackendServiceUsedBy.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BackendServiceUsedBy getDefaultInstanceForType()
Returns
TypeDescription
BackendServiceUsedBy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReference()

public String getReference()

optional string reference = 148586315;

Returns
TypeDescription
String

The reference.

getReferenceBytes()

public ByteString getReferenceBytes()

optional string reference = 148586315;

Returns
TypeDescription
ByteString

The bytes for reference.

hasReference()

public boolean hasReference()

optional string reference = 148586315;

Returns
TypeDescription
boolean

Whether the reference field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BackendServiceUsedBy other)

public BackendServiceUsedBy.Builder mergeFrom(BackendServiceUsedBy other)
Parameter
NameDescription
otherBackendServiceUsedBy
Returns
TypeDescription
BackendServiceUsedBy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackendServiceUsedBy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BackendServiceUsedBy.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setReference(String value)

public BackendServiceUsedBy.Builder setReference(String value)

optional string reference = 148586315;

Parameter
NameDescription
valueString

The reference to set.

Returns
TypeDescription
BackendServiceUsedBy.Builder

This builder for chaining.

setReferenceBytes(ByteString value)

public BackendServiceUsedBy.Builder setReferenceBytes(ByteString value)

optional string reference = 148586315;

Parameter
NameDescription
valueByteString

The bytes for reference to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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