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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkAddressList.BuilderImplements
NetworkAddressListOrBuilderStatic 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 |
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 |
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkAddressList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
NetworkAddressList.Builder |
clone()
public NetworkAddressList.Builder clone()
Returns | |
---|---|
Type | Description |
NetworkAddressList.Builder |
getDefaultInstanceForType()
public NetworkAddressList getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NetworkAddressList |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkAddressList.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
NetworkAddressList.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAddressList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkAddressList.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAddressList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkAddressList.Builder |