Class NatIpInfoResponse (1.56.0)

public final class NatIpInfoResponse extends GeneratedMessageV3 implements NatIpInfoResponseOrBuilder

Protobuf type google.cloud.compute.v1.NatIpInfoResponse

Static Fields

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NatIpInfoResponse getDefaultInstance()
Returns
Type Description
NatIpInfoResponse

getDescriptor()

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

newBuilder()

public static NatIpInfoResponse.Builder newBuilder()
Returns
Type Description
NatIpInfoResponse.Builder

newBuilder(NatIpInfoResponse prototype)

public static NatIpInfoResponse.Builder newBuilder(NatIpInfoResponse prototype)
Parameter
Name Description
prototype NatIpInfoResponse
Returns
Type Description
NatIpInfoResponse.Builder

parseDelimitedFrom(InputStream input)

public static NatIpInfoResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NatIpInfoResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NatIpInfoResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NatIpInfoResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NatIpInfoResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NatIpInfoResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NatIpInfoResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NatIpInfoResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NatIpInfoResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NatIpInfoResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NatIpInfoResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NatIpInfoResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NatIpInfoResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NatIpInfoResponse> parser()
Returns
Type Description
Parser<NatIpInfoResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NatIpInfoResponse getDefaultInstanceForType()
Returns
Type Description
NatIpInfoResponse

getParserForType()

public Parser<NatIpInfoResponse> getParserForType()
Returns
Type Description
Parser<NatIpInfoResponse>
Overrides

getResult(int index)

public NatIpInfo getResult(int index)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameter
Name Description
index int
Returns
Type Description
NatIpInfo

getResultCount()

public int getResultCount()

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Returns
Type Description
int

getResultList()

public List<NatIpInfo> getResultList()

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Returns
Type Description
List<NatIpInfo>

getResultOrBuilder(int index)

public NatIpInfoOrBuilder getResultOrBuilder(int index)

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Parameter
Name Description
index int
Returns
Type Description
NatIpInfoOrBuilder

getResultOrBuilderList()

public List<? extends NatIpInfoOrBuilder> getResultOrBuilderList()

[Output Only] A list of NAT IP information.

repeated .google.cloud.compute.v1.NatIpInfo result = 139315229;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.NatIpInfoOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NatIpInfoResponse.Builder newBuilderForType()
Returns
Type Description
NatIpInfoResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NatIpInfoResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NatIpInfoResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NatIpInfoResponse.Builder toBuilder()
Returns
Type Description
NatIpInfoResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException