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
CLOUD_VPNS_FIELD_NUMBER
public static final int CLOUD_VPNS_FIELD_NUMBER
Field Value
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VpnConnection.Details getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VpnConnection.Details.Builder newBuilder()
Returns
newBuilder(VpnConnection.Details prototype)
public static VpnConnection.Details.Builder newBuilder(VpnConnection.Details prototype)
Parameter
Returns
public static VpnConnection.Details parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VpnConnection.Details parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VpnConnection.Details parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VpnConnection.Details parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VpnConnection.Details parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpnConnection.Details parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VpnConnection.Details parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VpnConnection.Details parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VpnConnection.Details parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VpnConnection.Details parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VpnConnection.Details parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VpnConnection.Details parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VpnConnection.Details> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCloudRouter()
public VpnConnection.Details.CloudRouter getCloudRouter()
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;
Returns
getCloudRouterOrBuilder()
public VpnConnection.Details.CloudRouterOrBuilder getCloudRouterOrBuilder()
The Cloud Router info.
.google.cloud.edgecontainer.v1.VpnConnection.Details.CloudRouter cloud_router = 3;
Returns
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
Returns
getCloudVpnsCount()
public int getCloudVpnsCount()
Each connection has multiple Cloud VPN gateways.
repeated .google.cloud.edgecontainer.v1.VpnConnection.Details.CloudVpn cloud_vpns = 4;
Returns
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
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
Returns
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
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
getParserForType()
public Parser<VpnConnection.Details> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getState()
public VpnConnection.Details.State getState()
The state of this connection.
.google.cloud.edgecontainer.v1.VpnConnection.Details.State state = 1;
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VpnConnection.Details.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VpnConnection.Details.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VpnConnection.Details.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions