Class VpnGatewayStatus (1.50.0)

public final class VpnGatewayStatus extends GeneratedMessageV3 implements VpnGatewayStatusOrBuilder

Protobuf type google.cloud.compute.v1.VpnGatewayStatus

Static Fields

VPN_CONNECTIONS_FIELD_NUMBER

public static final int VPN_CONNECTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VpnGatewayStatus getDefaultInstance()
Returns
TypeDescription
VpnGatewayStatus

getDescriptor()

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

newBuilder()

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

newBuilder(VpnGatewayStatus prototype)

public static VpnGatewayStatus.Builder newBuilder(VpnGatewayStatus prototype)
Parameter
NameDescription
prototypeVpnGatewayStatus
Returns
TypeDescription
VpnGatewayStatus.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VpnGatewayStatus getDefaultInstanceForType()
Returns
TypeDescription
VpnGatewayStatus

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVpnConnections(int index)

public VpnGatewayStatusVpnConnection getVpnConnections(int index)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameter
NameDescription
indexint
Returns
TypeDescription
VpnGatewayStatusVpnConnection

getVpnConnectionsCount()

public int getVpnConnectionsCount()

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Returns
TypeDescription
int

getVpnConnectionsList()

public List<VpnGatewayStatusVpnConnection> getVpnConnectionsList()

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Returns
TypeDescription
List<VpnGatewayStatusVpnConnection>

getVpnConnectionsOrBuilder(int index)

public VpnGatewayStatusVpnConnectionOrBuilder getVpnConnectionsOrBuilder(int index)

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

Parameter
NameDescription
indexint
Returns
TypeDescription
VpnGatewayStatusVpnConnectionOrBuilder

getVpnConnectionsOrBuilderList()

public List<? extends VpnGatewayStatusVpnConnectionOrBuilder> getVpnConnectionsOrBuilderList()

List of VPN connection for this VpnGateway.

repeated .google.cloud.compute.v1.VpnGatewayStatusVpnConnection vpn_connections = 439334538;

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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