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
Modifier and TypeMethodDescriptionThe Cloud Router info.The Cloud Router info.getCloudVpns(int index) Each connection has multiple Cloud VPN gateways.intEach connection has multiple Cloud VPN gateways.Each connection has multiple Cloud VPN gateways.getCloudVpnsOrBuilder(int index) Each connection has multiple Cloud VPN gateways.List<? extends VpnConnection.Details.CloudVpnOrBuilder>Each connection has multiple Cloud VPN gateways.getError()The error message.com.google.protobuf.ByteStringThe error message.getState()The state of this connection.intThe state of this connection.booleanThe Cloud Router info.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;
-