Class NetworkAddressList.Builder (0.28.0)

public static final class NetworkAddressList.Builder extends GeneratedMessageV3.Builder<NetworkAddressList.Builder> implements NetworkAddressListOrBuilder

List of allocated/assigned network addresses.

Protobuf type google.cloud.migrationcenter.v1.NetworkAddressList

Static Methods

getDescriptor()

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

Methods

addAllEntries(Iterable<? extends NetworkAddress> values)

public NetworkAddressList.Builder addAllEntries(Iterable<? extends NetworkAddress> values)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.NetworkAddress>
Returns
Type Description
NetworkAddressList.Builder

addEntries(NetworkAddress value)

public NetworkAddressList.Builder addEntries(NetworkAddress value)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameter
Name Description
value NetworkAddress
Returns
Type Description
NetworkAddressList.Builder

addEntries(NetworkAddress.Builder builderForValue)

public NetworkAddressList.Builder addEntries(NetworkAddress.Builder builderForValue)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameter
Name Description
builderForValue NetworkAddress.Builder
Returns
Type Description
NetworkAddressList.Builder

addEntries(int index, NetworkAddress value)

public NetworkAddressList.Builder addEntries(int index, NetworkAddress value)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameters
Name Description
index int
value NetworkAddress
Returns
Type Description
NetworkAddressList.Builder

addEntries(int index, NetworkAddress.Builder builderForValue)

public NetworkAddressList.Builder addEntries(int index, NetworkAddress.Builder builderForValue)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameters
Name Description
index int
builderForValue NetworkAddress.Builder
Returns
Type Description
NetworkAddressList.Builder

addEntriesBuilder()

public NetworkAddress.Builder addEntriesBuilder()

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Returns
Type Description
NetworkAddress.Builder

addEntriesBuilder(int index)

public NetworkAddress.Builder addEntriesBuilder(int index)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameter
Name Description
index int
Returns
Type Description
NetworkAddress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkAddressList build()
Returns
Type Description
NetworkAddressList

buildPartial()

public NetworkAddressList buildPartial()
Returns
Type Description
NetworkAddressList

clear()

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

clearEntries()

public NetworkAddressList.Builder clearEntries()

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Returns
Type Description
NetworkAddressList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NetworkAddressList getDefaultInstanceForType()
Returns
Type Description
NetworkAddressList

getDescriptorForType()

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

getEntries(int index)

public NetworkAddress getEntries(int index)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameter
Name Description
index int
Returns
Type Description
NetworkAddress

getEntriesBuilder(int index)

public NetworkAddress.Builder getEntriesBuilder(int index)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameter
Name Description
index int
Returns
Type Description
NetworkAddress.Builder

getEntriesBuilderList()

public List<NetworkAddress.Builder> getEntriesBuilderList()

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Returns
Type Description
List<Builder>

getEntriesCount()

public int getEntriesCount()

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Returns
Type Description
int

getEntriesList()

public List<NetworkAddress> getEntriesList()

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Returns
Type Description
List<NetworkAddress>

getEntriesOrBuilder(int index)

public NetworkAddressOrBuilder getEntriesOrBuilder(int index)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameter
Name Description
index int
Returns
Type Description
NetworkAddressOrBuilder

getEntriesOrBuilderList()

public List<? extends NetworkAddressOrBuilder> getEntriesOrBuilderList()

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.NetworkAddressOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkAddressList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public NetworkAddressList.Builder removeEntries(int index)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameter
Name Description
index int
Returns
Type Description
NetworkAddressList.Builder

setEntries(int index, NetworkAddress value)

public NetworkAddressList.Builder setEntries(int index, NetworkAddress value)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameters
Name Description
index int
value NetworkAddress
Returns
Type Description
NetworkAddressList.Builder

setEntries(int index, NetworkAddress.Builder builderForValue)

public NetworkAddressList.Builder setEntries(int index, NetworkAddress.Builder builderForValue)

Network address entries.

repeated .google.cloud.migrationcenter.v1.NetworkAddress entries = 1;

Parameters
Name Description
index int
builderForValue NetworkAddress.Builder
Returns
Type Description
NetworkAddressList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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