Class NetworkAddressList.Builder (0.6.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.NetworkAddress>
Returns
TypeDescription
NetworkAddressList.Builder

addEntries(NetworkAddress value)

public NetworkAddressList.Builder addEntries(NetworkAddress value)

Network address entries.

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

Parameter
NameDescription
valueNetworkAddress
Returns
TypeDescription
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
NameDescription
builderForValueNetworkAddress.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNetworkAddress
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNetworkAddress.Builder
Returns
TypeDescription
NetworkAddressList.Builder

addEntriesBuilder()

public NetworkAddress.Builder addEntriesBuilder()

Network address entries.

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

Returns
TypeDescription
NetworkAddress.Builder

addEntriesBuilder(int index)

public NetworkAddress.Builder addEntriesBuilder(int index)

Network address entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkAddress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkAddressList build()
Returns
TypeDescription
NetworkAddressList

buildPartial()

public NetworkAddressList buildPartial()
Returns
TypeDescription
NetworkAddressList

clear()

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

clearEntries()

public NetworkAddressList.Builder clearEntries()

Network address entries.

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

Returns
TypeDescription
NetworkAddressList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NetworkAddressList getDefaultInstanceForType()
Returns
TypeDescription
NetworkAddressList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntries(int index)

public NetworkAddress getEntries(int index)

Network address entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkAddress

getEntriesBuilder(int index)

public NetworkAddress.Builder getEntriesBuilder(int index)

Network address entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkAddress.Builder

getEntriesBuilderList()

public List<NetworkAddress.Builder> getEntriesBuilderList()

Network address entries.

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

Returns
TypeDescription
List<Builder>

getEntriesCount()

public int getEntriesCount()

Network address entries.

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

Returns
TypeDescription
int

getEntriesList()

public List<NetworkAddress> getEntriesList()

Network address entries.

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

Returns
TypeDescription
List<NetworkAddress>

getEntriesOrBuilder(int index)

public NetworkAddressOrBuilder getEntriesOrBuilder(int index)

Network address entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkAddressOrBuilder

getEntriesOrBuilderList()

public List<? extends NetworkAddressOrBuilder> getEntriesOrBuilderList()

Network address entries.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkAddressList other)

public NetworkAddressList.Builder mergeFrom(NetworkAddressList other)
Parameter
NameDescription
otherNetworkAddressList
Returns
TypeDescription
NetworkAddressList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEntries(int index)

public NetworkAddressList.Builder removeEntries(int index)

Network address entries.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueNetworkAddress
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNetworkAddress.Builder
Returns
TypeDescription
NetworkAddressList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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