Class AddressesScopedList.Builder (1.23.0)

public static final class AddressesScopedList.Builder extends GeneratedMessageV3.Builder<AddressesScopedList.Builder> implements AddressesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.AddressesScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAddresses(Address value)

public AddressesScopedList.Builder addAddresses(Address value)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameter
NameDescription
valueAddress
Returns
TypeDescription
AddressesScopedList.Builder

addAddresses(Address.Builder builderForValue)

public AddressesScopedList.Builder addAddresses(Address.Builder builderForValue)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameter
NameDescription
builderForValueAddress.Builder
Returns
TypeDescription
AddressesScopedList.Builder

addAddresses(int index, Address value)

public AddressesScopedList.Builder addAddresses(int index, Address value)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameters
NameDescription
indexint
valueAddress
Returns
TypeDescription
AddressesScopedList.Builder

addAddresses(int index, Address.Builder builderForValue)

public AddressesScopedList.Builder addAddresses(int index, Address.Builder builderForValue)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameters
NameDescription
indexint
builderForValueAddress.Builder
Returns
TypeDescription
AddressesScopedList.Builder

addAddressesBuilder()

public Address.Builder addAddressesBuilder()

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Returns
TypeDescription
Address.Builder

addAddressesBuilder(int index)

public Address.Builder addAddressesBuilder(int index)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameter
NameDescription
indexint
Returns
TypeDescription
Address.Builder

addAllAddresses(Iterable<? extends Address> values)

public AddressesScopedList.Builder addAllAddresses(Iterable<? extends Address> values)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Address>
Returns
TypeDescription
AddressesScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AddressesScopedList build()
Returns
TypeDescription
AddressesScopedList

buildPartial()

public AddressesScopedList buildPartial()
Returns
TypeDescription
AddressesScopedList

clear()

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

clearAddresses()

public AddressesScopedList.Builder clearAddresses()

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Returns
TypeDescription
AddressesScopedList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public AddressesScopedList.Builder clearWarning()

[Output Only] Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
AddressesScopedList.Builder

clone()

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

getAddresses(int index)

public Address getAddresses(int index)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameter
NameDescription
indexint
Returns
TypeDescription
Address

getAddressesBuilder(int index)

public Address.Builder getAddressesBuilder(int index)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameter
NameDescription
indexint
Returns
TypeDescription
Address.Builder

getAddressesBuilderList()

public List<Address.Builder> getAddressesBuilderList()

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Returns
TypeDescription
List<Builder>

getAddressesCount()

public int getAddressesCount()

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Returns
TypeDescription
int

getAddressesList()

public List<Address> getAddressesList()

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Returns
TypeDescription
List<Address>

getAddressesOrBuilder(int index)

public AddressOrBuilder getAddressesOrBuilder(int index)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameter
NameDescription
indexint
Returns
TypeDescription
AddressOrBuilder

getAddressesOrBuilderList()

public List<? extends AddressOrBuilder> getAddressesOrBuilderList()

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.AddressOrBuilder>

getDefaultInstanceForType()

public AddressesScopedList getDefaultInstanceForType()
Returns
TypeDescription
AddressesScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getWarning()

public Warning getWarning()

[Output Only] Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

[Output Only] Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

[Output Only] Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[Output Only] Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AddressesScopedList other)

public AddressesScopedList.Builder mergeFrom(AddressesScopedList other)
Parameter
NameDescription
otherAddressesScopedList
Returns
TypeDescription
AddressesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public AddressesScopedList.Builder mergeWarning(Warning value)

[Output Only] Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
NameDescription
valueWarning
Returns
TypeDescription
AddressesScopedList.Builder

removeAddresses(int index)

public AddressesScopedList.Builder removeAddresses(int index)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameter
NameDescription
indexint
Returns
TypeDescription
AddressesScopedList.Builder

setAddresses(int index, Address value)

public AddressesScopedList.Builder setAddresses(int index, Address value)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameters
NameDescription
indexint
valueAddress
Returns
TypeDescription
AddressesScopedList.Builder

setAddresses(int index, Address.Builder builderForValue)

public AddressesScopedList.Builder setAddresses(int index, Address.Builder builderForValue)

[Output Only] A list of addresses contained in this scope.

repeated .google.cloud.compute.v1.Address addresses = 337673122;

Parameters
NameDescription
indexint
builderForValueAddress.Builder
Returns
TypeDescription
AddressesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AddressesScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AddressesScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public AddressesScopedList.Builder setWarning(Warning value)

[Output Only] Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
NameDescription
valueWarning
Returns
TypeDescription
AddressesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public AddressesScopedList.Builder setWarning(Warning.Builder builderForValue)

[Output Only] Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
AddressesScopedList.Builder