Class VpnTunnelInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo
-
- All Implemented Interfaces:
VpnTunnelInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class VpnTunnelInfo extends com.google.protobuf.GeneratedMessageV3 implements VpnTunnelInfoOrBuilder
For display only. Metadata associated with a Compute Engine VPN tunnel.
Protobuf typegoogle.cloud.networkmanagement.v1beta1.VpnTunnelInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVpnTunnelInfo.BuilderFor display only.static classVpnTunnelInfo.RoutingTypeTypes of VPN routing policy.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDISPLAY_NAME_FIELD_NUMBERstatic intNETWORK_URI_FIELD_NUMBERstatic intREGION_FIELD_NUMBERstatic intREMOTE_GATEWAY_FIELD_NUMBERstatic intREMOTE_GATEWAY_IP_FIELD_NUMBERstatic intROUTING_TYPE_FIELD_NUMBERstatic intSOURCE_GATEWAY_FIELD_NUMBERstatic intSOURCE_GATEWAY_IP_FIELD_NUMBERstatic intURI_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static VpnTunnelInfogetDefaultInstance()VpnTunnelInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Name of a VPN tunnel.com.google.protobuf.ByteStringgetDisplayNameBytes()Name of a VPN tunnel.StringgetNetworkUri()URI of a Compute Engine network where the VPN tunnel is configured.com.google.protobuf.ByteStringgetNetworkUriBytes()URI of a Compute Engine network where the VPN tunnel is configured.com.google.protobuf.Parser<VpnTunnelInfo>getParserForType()StringgetRegion()Name of a Google Cloud region where this VPN tunnel is configured.com.google.protobuf.ByteStringgetRegionBytes()Name of a Google Cloud region where this VPN tunnel is configured.StringgetRemoteGateway()URI of a VPN gateway at remote end of the tunnel.com.google.protobuf.ByteStringgetRemoteGatewayBytes()URI of a VPN gateway at remote end of the tunnel.StringgetRemoteGatewayIp()Remote VPN gateway's IP address.com.google.protobuf.ByteStringgetRemoteGatewayIpBytes()Remote VPN gateway's IP address.VpnTunnelInfo.RoutingTypegetRoutingType()Type of the routing policy.intgetRoutingTypeValue()Type of the routing policy.intgetSerializedSize()StringgetSourceGateway()URI of the VPN gateway at local end of the tunnel.com.google.protobuf.ByteStringgetSourceGatewayBytes()URI of the VPN gateway at local end of the tunnel.StringgetSourceGatewayIp()Local VPN gateway's IP address.com.google.protobuf.ByteStringgetSourceGatewayIpBytes()Local VPN gateway's IP address.StringgetUri()URI of a VPN tunnel.com.google.protobuf.ByteStringgetUriBytes()URI of a VPN tunnel.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static VpnTunnelInfo.BuildernewBuilder()static VpnTunnelInfo.BuildernewBuilder(VpnTunnelInfo prototype)VpnTunnelInfo.BuildernewBuilderForType()protected VpnTunnelInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static VpnTunnelInfoparseDelimitedFrom(InputStream input)static VpnTunnelInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VpnTunnelInfoparseFrom(byte[] data)static VpnTunnelInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VpnTunnelInfoparseFrom(com.google.protobuf.ByteString data)static VpnTunnelInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VpnTunnelInfoparseFrom(com.google.protobuf.CodedInputStream input)static VpnTunnelInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VpnTunnelInfoparseFrom(InputStream input)static VpnTunnelInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VpnTunnelInfoparseFrom(ByteBuffer data)static VpnTunnelInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<VpnTunnelInfo>parser()VpnTunnelInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_GATEWAY_FIELD_NUMBER
public static final int SOURCE_GATEWAY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTE_GATEWAY_FIELD_NUMBER
public static final int REMOTE_GATEWAY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REMOTE_GATEWAY_IP_FIELD_NUMBER
public static final int REMOTE_GATEWAY_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_GATEWAY_IP_FIELD_NUMBER
public static final int SOURCE_GATEWAY_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_URI_FIELD_NUMBER
public static final int NETWORK_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROUTING_TYPE_FIELD_NUMBER
public static final int ROUTING_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDisplayName
public String getDisplayName()
Name of a VPN tunnel.
string display_name = 1;- Specified by:
getDisplayNamein interfaceVpnTunnelInfoOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Name of a VPN tunnel.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceVpnTunnelInfoOrBuilder- Returns:
- The bytes for displayName.
-
getUri
public String getUri()
URI of a VPN tunnel.
string uri = 2;- Specified by:
getUriin interfaceVpnTunnelInfoOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()
URI of a VPN tunnel.
string uri = 2;- Specified by:
getUriBytesin interfaceVpnTunnelInfoOrBuilder- Returns:
- The bytes for uri.
-
getSourceGateway
public String getSourceGateway()
URI of the VPN gateway at local end of the tunnel.
string source_gateway = 3;- Specified by:
getSourceGatewayin interfaceVpnTunnelInfoOrBuilder- Returns:
- The sourceGateway.
-
getSourceGatewayBytes
public com.google.protobuf.ByteString getSourceGatewayBytes()
URI of the VPN gateway at local end of the tunnel.
string source_gateway = 3;- Specified by:
getSourceGatewayBytesin interfaceVpnTunnelInfoOrBuilder- Returns:
- The bytes for sourceGateway.
-
getRemoteGateway
public String getRemoteGateway()
URI of a VPN gateway at remote end of the tunnel.
string remote_gateway = 4;- Specified by:
getRemoteGatewayin interfaceVpnTunnelInfoOrBuilder- Returns:
- The remoteGateway.
-
getRemoteGatewayBytes
public com.google.protobuf.ByteString getRemoteGatewayBytes()
URI of a VPN gateway at remote end of the tunnel.
string remote_gateway = 4;- Specified by:
getRemoteGatewayBytesin interfaceVpnTunnelInfoOrBuilder- Returns:
- The bytes for remoteGateway.
-
getRemoteGatewayIp
public String getRemoteGatewayIp()
Remote VPN gateway's IP address.
string remote_gateway_ip = 5;- Specified by:
getRemoteGatewayIpin interfaceVpnTunnelInfoOrBuilder- Returns:
- The remoteGatewayIp.
-
getRemoteGatewayIpBytes
public com.google.protobuf.ByteString getRemoteGatewayIpBytes()
Remote VPN gateway's IP address.
string remote_gateway_ip = 5;- Specified by:
getRemoteGatewayIpBytesin interfaceVpnTunnelInfoOrBuilder- Returns:
- The bytes for remoteGatewayIp.
-
getSourceGatewayIp
public String getSourceGatewayIp()
Local VPN gateway's IP address.
string source_gateway_ip = 6;- Specified by:
getSourceGatewayIpin interfaceVpnTunnelInfoOrBuilder- Returns:
- The sourceGatewayIp.
-
getSourceGatewayIpBytes
public com.google.protobuf.ByteString getSourceGatewayIpBytes()
Local VPN gateway's IP address.
string source_gateway_ip = 6;- Specified by:
getSourceGatewayIpBytesin interfaceVpnTunnelInfoOrBuilder- Returns:
- The bytes for sourceGatewayIp.
-
getNetworkUri
public String getNetworkUri()
URI of a Compute Engine network where the VPN tunnel is configured.
string network_uri = 7;- Specified by:
getNetworkUriin interfaceVpnTunnelInfoOrBuilder- Returns:
- The networkUri.
-
getNetworkUriBytes
public com.google.protobuf.ByteString getNetworkUriBytes()
URI of a Compute Engine network where the VPN tunnel is configured.
string network_uri = 7;- Specified by:
getNetworkUriBytesin interfaceVpnTunnelInfoOrBuilder- Returns:
- The bytes for networkUri.
-
getRegion
public String getRegion()
Name of a Google Cloud region where this VPN tunnel is configured.
string region = 8;- Specified by:
getRegionin interfaceVpnTunnelInfoOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
Name of a Google Cloud region where this VPN tunnel is configured.
string region = 8;- Specified by:
getRegionBytesin interfaceVpnTunnelInfoOrBuilder- Returns:
- The bytes for region.
-
getRoutingTypeValue
public int getRoutingTypeValue()
Type of the routing policy.
.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9;- Specified by:
getRoutingTypeValuein interfaceVpnTunnelInfoOrBuilder- Returns:
- The enum numeric value on the wire for routingType.
-
getRoutingType
public VpnTunnelInfo.RoutingType getRoutingType()
Type of the routing policy.
.google.cloud.networkmanagement.v1beta1.VpnTunnelInfo.RoutingType routing_type = 9;- Specified by:
getRoutingTypein interfaceVpnTunnelInfoOrBuilder- Returns:
- The routingType.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static VpnTunnelInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnelInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnelInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnelInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnelInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnelInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VpnTunnelInfo parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static VpnTunnelInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static VpnTunnelInfo parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static VpnTunnelInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static VpnTunnelInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static VpnTunnelInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public VpnTunnelInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static VpnTunnelInfo.Builder newBuilder()
-
newBuilder
public static VpnTunnelInfo.Builder newBuilder(VpnTunnelInfo prototype)
-
toBuilder
public VpnTunnelInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VpnTunnelInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static VpnTunnelInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<VpnTunnelInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<VpnTunnelInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public VpnTunnelInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-