Class VpnConnection.Details (0.16.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
TypeDescription
int

CLOUD_VPNS_FIELD_NUMBER

public static final int CLOUD_VPNS_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VpnConnection.Details getDefaultInstance()
Returns
TypeDescription
VpnConnection.Details

getDescriptor()

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

newBuilder()

public static VpnConnection.Details.Builder newBuilder()
Returns
TypeDescription
VpnConnection.Details.Builder

newBuilder(VpnConnection.Details prototype)

public static VpnConnection.Details.Builder newBuilder(VpnConnection.Details prototype)
Parameter
NameDescription
prototypeVpnConnection.Details
Returns
TypeDescription
VpnConnection.Details.Builder

parseDelimitedFrom(InputStream input)

public static VpnConnection.Details parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpnConnection.Details
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static VpnConnection.Details parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VpnConnection.Details
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static VpnConnection.Details parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VpnConnection.Details
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static VpnConnection.Details parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VpnConnection.Details
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static VpnConnection.Details parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VpnConnection.Details
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCloudRouter()

public VpnConnection.Details.CloudRouter getCloudRouter()

The Cloud Router info.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpnOrBuilder>

getDefaultInstanceForType()

public VpnConnection.Details getDefaultInstanceForType()
Returns
TypeDescription
VpnConnection.Details

getError()

public String getError()

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

string error = 2;

Returns
TypeDescription
String

The error.

getErrorBytes()

public ByteString getErrorBytes()

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

string error = 2;

Returns
TypeDescription
ByteString

The bytes for error.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public VpnConnection.Details.State getState()

The state of this connection.

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

Returns
TypeDescription
VpnConnection.Details.State

The state.

getStateValue()

public int getStateValue()

The state of this connection.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the cloudRouter field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public VpnConnection.Details.Builder toBuilder()
Returns
TypeDescription
VpnConnection.Details.Builder

writeTo(CodedOutputStream output)

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