public final class NextHopVPNTunnel extends GeneratedMessage implements NextHopVPNTunnelOrBuilderA route next hop that leads to a VPN tunnel resource.
Protobuf type google.cloud.networkconnectivity.v1.NextHopVPNTunnel
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > NextHopVPNTunnelImplements
NextHopVPNTunnelOrBuilderStatic Fields
SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER
public static final int SITE_TO_SITE_DATA_TRANSFER_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
VPC_NETWORK_FIELD_NUMBER
public static final int VPC_NETWORK_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static NextHopVPNTunnel getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static NextHopVPNTunnel.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel.Builder |
|
newBuilder(NextHopVPNTunnel prototype)
public static NextHopVPNTunnel.Builder newBuilder(NextHopVPNTunnel prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
NextHopVPNTunnel |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel.Builder |
|
parseDelimitedFrom(InputStream input)
public static NextHopVPNTunnel parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NextHopVPNTunnel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static NextHopVPNTunnel parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NextHopVPNTunnel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static NextHopVPNTunnel parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NextHopVPNTunnel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static NextHopVPNTunnel parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NextHopVPNTunnel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static NextHopVPNTunnel parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NextHopVPNTunnel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static NextHopVPNTunnel parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NextHopVPNTunnel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<NextHopVPNTunnel> parser()| Returns | |
|---|---|
| Type | Description |
Parser<NextHopVPNTunnel> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public NextHopVPNTunnel getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel |
|
getParserForType()
public Parser<NextHopVPNTunnel> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<NextHopVPNTunnel> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSiteToSiteDataTransfer()
public boolean getSiteToSiteDataTransfer()Indicates whether site-to-site data transfer is allowed for this VPN tunnel resource. Data transfer is available only in supported locations.
bool site_to_site_data_transfer = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The siteToSiteDataTransfer. |
getUri()
public String getUri()The URI of the VPN tunnel resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()The URI of the VPN tunnel resource.
string uri = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
getVpcNetwork()
public String getVpcNetwork()The VPC network where this VPN tunnel is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The vpcNetwork. |
getVpcNetworkBytes()
public ByteString getVpcNetworkBytes()The VPC network where this VPN tunnel is located.
string vpc_network = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vpcNetwork. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public NextHopVPNTunnel.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected NextHopVPNTunnel.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel.Builder |
|
toBuilder()
public NextHopVPNTunnel.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
NextHopVPNTunnel.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|