Interface VpnConnection.DetailsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VpnConnection.Details
,VpnConnection.Details.Builder
- Enclosing class:
- VpnConnection
public static interface VpnConnection.DetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VpnConnection.Details.CloudRouter
getCloudRouter()
The Cloud Router info.VpnConnection.Details.CloudRouterOrBuilder
getCloudRouterOrBuilder()
The Cloud Router info.VpnConnection.Details.CloudVpn
getCloudVpns(int index)
Each connection has multiple Cloud VPN gateways.int
getCloudVpnsCount()
Each connection has multiple Cloud VPN gateways.List<VpnConnection.Details.CloudVpn>
getCloudVpnsList()
Each connection has multiple Cloud VPN gateways.VpnConnection.Details.CloudVpnOrBuilder
getCloudVpnsOrBuilder(int index)
Each connection has multiple Cloud VPN gateways.List<? extends VpnConnection.Details.CloudVpnOrBuilder>
getCloudVpnsOrBuilderList()
Each connection has multiple Cloud VPN gateways.String
getError()
The error message.com.google.protobuf.ByteString
getErrorBytes()
The error message.VpnConnection.Details.State
getState()
The state of this connection.int
getStateValue()
The state of this connection.boolean
hasCloudRouter()
The Cloud Router info.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStateValue
int getStateValue()
The state of this connection.
.google.cloud.edgecontainer.v1.VpnConnection.Details.State state = 1;
- Returns:
- The enum numeric value on the wire for state.
-
getState
VpnConnection.Details.State getState()
The state of this connection.
.google.cloud.edgecontainer.v1.VpnConnection.Details.State state = 1;
- Returns:
- The state.
-
getError
String getError()
The error message. This is only populated when state=ERROR.
string error = 2;
- Returns:
- The error.
-
getErrorBytes
com.google.protobuf.ByteString getErrorBytes()
The error message. This is only populated when state=ERROR.
string error = 2;
- Returns:
- The bytes for error.
-
hasCloudRouter
boolean hasCloudRouter()
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;
- Returns:
- Whether the cloudRouter field is set.
-
getCloudRouter
VpnConnection.Details.CloudRouter getCloudRouter()
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;
- Returns:
- The cloudRouter.
-
getCloudRouterOrBuilder
VpnConnection.Details.CloudRouterOrBuilder getCloudRouterOrBuilder()
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;
-
getCloudVpnsList
List<VpnConnection.Details.CloudVpn> getCloudVpnsList()
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;
-
getCloudVpns
VpnConnection.Details.CloudVpn getCloudVpns(int index)
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;
-
getCloudVpnsCount
int getCloudVpnsCount()
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;
-
getCloudVpnsOrBuilderList
List<? extends VpnConnection.Details.CloudVpnOrBuilder> getCloudVpnsOrBuilderList()
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;
-
getCloudVpnsOrBuilder
VpnConnection.Details.CloudVpnOrBuilder getCloudVpnsOrBuilder(int index)
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;
-
-