Interface VpnConnection.DetailsOrBuilder (0.40.0)

public static interface VpnConnection.DetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudRouter()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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>

getError()

public abstract String getError()

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

string error = 2;

Returns
Type Description
String

The error.

getErrorBytes()

public abstract ByteString getErrorBytes()

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

string error = 2;

Returns
Type Description
ByteString

The bytes for error.

getState()

public abstract 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 abstract 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 abstract 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.