Class NetworkAddressList (0.2.0)

public final class NetworkAddressList extends GeneratedMessageV3 implements NetworkAddressListOrBuilder

List of allocated/assigned network addresses.

Protobuf type google.cloud.migrationcenter.v1.NetworkAddressList

Static Fields

ENTRIES_FIELD_NUMBER

public static final int ENTRIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkAddressList getDefaultInstance()
Returns
TypeDescription
NetworkAddressList

getDescriptor()

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

newBuilder()

public static NetworkAddressList.Builder newBuilder()
Returns
TypeDescription
NetworkAddressList.Builder

newBuilder(NetworkAddressList prototype)

public static NetworkAddressList.Builder newBuilder(NetworkAddressList prototype)
Parameter
NameDescription
prototypeNetworkAddressList
Returns
TypeDescription
NetworkAddressList.Builder

parseDelimitedFrom(InputStream input)

public static NetworkAddressList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkAddressList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NetworkAddressList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkAddressList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkAddressList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkAddressList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkAddressList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkAddressList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NetworkAddressList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkAddressList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NetworkAddressList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkAddressList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkAddressList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NetworkAddressList> parser()
Returns
TypeDescription
Parser<NetworkAddressList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NetworkAddressList getDefaultInstanceForType()
Returns
TypeDescription
NetworkAddressList

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

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>

getParserForType()

public Parser<NetworkAddressList> getParserForType()
Returns
TypeDescription
Parser<NetworkAddressList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NetworkAddressList.Builder newBuilderForType()
Returns
TypeDescription
NetworkAddressList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkAddressList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NetworkAddressList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NetworkAddressList.Builder toBuilder()
Returns
TypeDescription
NetworkAddressList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException