Class VpnConnection.Details (0.40.0)

public static final class VpnConnection.Details extends GeneratedMessageV3 implements VpnConnection.DetailsOrBuilder

The created connection details.

Protobuf type google.cloud.edgecontainer.v1.VpnConnection.Details

Static Fields

CLOUD_ROUTER_FIELD_NUMBER

public static final int CLOUD_ROUTER_FIELD_NUMBER
Field Value
Type Description
int

CLOUD_VPNS_FIELD_NUMBER

public static final int CLOUD_VPNS_FIELD_NUMBER
Field Value
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VpnConnection.Details getDefaultInstance()
Returns
Type Description
VpnConnection.Details

getDescriptor()

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

newBuilder()

public static VpnConnection.Details.Builder newBuilder()
Returns
Type Description
VpnConnection.Details.Builder

newBuilder(VpnConnection.Details prototype)

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

parseDelimitedFrom(InputStream input)

public static VpnConnection.Details parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VpnConnection.Details
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static VpnConnection.Details parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VpnConnection.Details
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static VpnConnection.Details parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VpnConnection.Details
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static VpnConnection.Details parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VpnConnection.Details
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static VpnConnection.Details parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VpnConnection.Details
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<VpnConnection.Details> parser()
Returns
Type Description
Parser<Details>

Methods

equals(Object obj)

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

getCloudRouter()

public VpnConnection.Details.CloudRouter getCloudRouter()

The Cloud Router info.

.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;

Returns
Type Description
VpnConnection.Details.CloudRouter

The cloudRouter.

getCloudRouterOrBuilder()

public VpnConnection.Details.CloudRouterOrBuilder getCloudRouterOrBuilder()

The Cloud Router info.

.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;

Returns
Type Description
VpnConnection.Details.CloudRouterOrBuilder

getCloudVpns(int index)

public VpnConnection.Details.CloudVpn getCloudVpns(int index)

Each connection has multiple Cloud VPN gateways.

repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;

Parameter
Name Description
index int
Returns
Type Description
VpnConnection.Details.CloudVpn

getCloudVpnsCount()

public int getCloudVpnsCount()

Each connection has multiple Cloud VPN gateways.

repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;

Returns
Type Description
int

getCloudVpnsList()

public List<VpnConnection.Details.CloudVpn> getCloudVpnsList()

Each connection has multiple Cloud VPN gateways.

repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;

Returns
Type Description
List<CloudVpn>

getCloudVpnsOrBuilder(int index)

public VpnConnection.Details.CloudVpnOrBuilder getCloudVpnsOrBuilder(int index)

Each connection has multiple Cloud VPN gateways.

repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;

Parameter
Name Description
index int
Returns
Type Description
VpnConnection.Details.CloudVpnOrBuilder

getCloudVpnsOrBuilderList()

public List<? extends VpnConnection.Details.CloudVpnOrBuilder> getCloudVpnsOrBuilderList()

Each connection has multiple Cloud VPN gateways.

repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;

Returns
Type Description
List<? extends com.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpnOrBuilder>

getDefaultInstanceForType()

public VpnConnection.Details getDefaultInstanceForType()
Returns
Type Description
VpnConnection.Details

getError()

public String getError()

The error message. This is only populated when state=ERROR.

string error = 2;

Returns
Type Description
String

The error.

getErrorBytes()

public ByteString getErrorBytes()

The error message. This is only populated when state=ERROR.

string error = 2;

Returns
Type Description
ByteString

The bytes for error.

getParserForType()

public Parser<VpnConnection.Details> getParserForType()
Returns
Type Description
Parser<Details>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public VpnConnection.Details.State getState()

The state of this connection.

.google.cloud.edgecontainer.v1.VpnConnection.Details.State state = 1;

Returns
Type Description
VpnConnection.Details.State

The state.

getStateValue()

public int getStateValue()

The state of this connection.

.google.cloud.edgecontainer.v1.VpnConnection.Details.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasCloudRouter()

public boolean hasCloudRouter()

The Cloud Router info.

.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;

Returns
Type Description
boolean

Whether the cloudRouter field is set.

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 VpnConnection.Details.Builder newBuilderForType()
Returns
Type Description
VpnConnection.Details.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public VpnConnection.Details.Builder toBuilder()
Returns
Type Description
VpnConnection.Details.Builder

writeTo(CodedOutputStream output)

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