Class NatIpInfoResponse (1.51.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static NatIpInfoResponse getDefaultInstance()
Returns
TypeDescription
NatIpInfoResponse

getDescriptor()

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

newBuilder()

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

newBuilder(NatIpInfoResponse prototype)

public static NatIpInfoResponse.Builder newBuilder(NatIpInfoResponse prototype)
Parameter
NameDescription
prototypeNatIpInfoResponse
Returns
TypeDescription
NatIpInfoResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NatIpInfoResponse getDefaultInstanceForType()
Returns
TypeDescription
NatIpInfoResponse

getParserForType()

public Parser<NatIpInfoResponse> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NatIpInfo

getResultCount()

public int getResultCount()

[Output Only] A list of NAT IP information.

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

Returns
TypeDescription
int

getResultList()

public List<NatIpInfo> getResultList()

[Output Only] A list of NAT IP information.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NatIpInfoOrBuilder

getResultOrBuilderList()

public List<? extends NatIpInfoOrBuilder> getResultOrBuilderList()

[Output Only] A list of NAT IP information.

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

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

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 NatIpInfoResponse.Builder newBuilderForType()
Returns
TypeDescription
NatIpInfoResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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