public static final class VpnGatewayStatusTunnel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder> implements VpnGatewayStatusTunnelOrBuilder
Contains some information about a VPN tunnel.Protobuf type
google.cloud.compute.v1.VpnGatewayStatusTunnel| Modifier and Type | Method and Description |
|---|---|
VpnGatewayStatusTunnel.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VpnGatewayStatusTunnel |
build() |
VpnGatewayStatusTunnel |
buildPartial() |
VpnGatewayStatusTunnel.Builder |
clear() |
VpnGatewayStatusTunnel.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VpnGatewayStatusTunnel.Builder |
clearLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
|
VpnGatewayStatusTunnel.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VpnGatewayStatusTunnel.Builder |
clearPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
|
VpnGatewayStatusTunnel.Builder |
clearTunnelUrl()
URL reference to the VPN tunnel.
|
VpnGatewayStatusTunnel.Builder |
clone() |
VpnGatewayStatusTunnel |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
|
int |
getPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
|
String |
getTunnelUrl()
URL reference to the VPN tunnel.
|
com.google.protobuf.ByteString |
getTunnelUrlBytes()
URL reference to the VPN tunnel.
|
boolean |
hasLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
|
boolean |
hasPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
|
boolean |
hasTunnelUrl()
URL reference to the VPN tunnel.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VpnGatewayStatusTunnel.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VpnGatewayStatusTunnel.Builder |
mergeFrom(com.google.protobuf.Message other) |
VpnGatewayStatusTunnel.Builder |
mergeFrom(VpnGatewayStatusTunnel other) |
VpnGatewayStatusTunnel.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VpnGatewayStatusTunnel.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VpnGatewayStatusTunnel.Builder |
setLocalGatewayInterface(int value)
The VPN gateway interface this VPN tunnel is associated with.
|
VpnGatewayStatusTunnel.Builder |
setPeerGatewayInterface(int value)
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
|
VpnGatewayStatusTunnel.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VpnGatewayStatusTunnel.Builder |
setTunnelUrl(String value)
URL reference to the VPN tunnel.
|
VpnGatewayStatusTunnel.Builder |
setTunnelUrlBytes(com.google.protobuf.ByteString value)
URL reference to the VPN tunnel.
|
VpnGatewayStatusTunnel.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public VpnGatewayStatusTunnel.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public VpnGatewayStatusTunnel getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VpnGatewayStatusTunnel build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VpnGatewayStatusTunnel buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VpnGatewayStatusTunnel.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public VpnGatewayStatusTunnel.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public VpnGatewayStatusTunnel.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public VpnGatewayStatusTunnel.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public VpnGatewayStatusTunnel.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public VpnGatewayStatusTunnel.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public VpnGatewayStatusTunnel.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnGatewayStatusTunnel.Builder>public VpnGatewayStatusTunnel.Builder mergeFrom(VpnGatewayStatusTunnel other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public VpnGatewayStatusTunnel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VpnGatewayStatusTunnel.Builder>IOExceptionpublic boolean hasLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;hasLocalGatewayInterface in interface VpnGatewayStatusTunnelOrBuilderpublic int getLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;getLocalGatewayInterface in interface VpnGatewayStatusTunnelOrBuilderpublic VpnGatewayStatusTunnel.Builder setLocalGatewayInterface(int value)
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;value - The localGatewayInterface to set.public VpnGatewayStatusTunnel.Builder clearLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;public boolean hasPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
optional uint32 peer_gateway_interface = 214380385;hasPeerGatewayInterface in interface VpnGatewayStatusTunnelOrBuilderpublic int getPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
optional uint32 peer_gateway_interface = 214380385;getPeerGatewayInterface in interface VpnGatewayStatusTunnelOrBuilderpublic VpnGatewayStatusTunnel.Builder setPeerGatewayInterface(int value)
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
optional uint32 peer_gateway_interface = 214380385;value - The peerGatewayInterface to set.public VpnGatewayStatusTunnel.Builder clearPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
optional uint32 peer_gateway_interface = 214380385;public boolean hasTunnelUrl()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;hasTunnelUrl in interface VpnGatewayStatusTunnelOrBuilderpublic String getTunnelUrl()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;getTunnelUrl in interface VpnGatewayStatusTunnelOrBuilderpublic com.google.protobuf.ByteString getTunnelUrlBytes()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;getTunnelUrlBytes in interface VpnGatewayStatusTunnelOrBuilderpublic VpnGatewayStatusTunnel.Builder setTunnelUrl(String value)
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;value - The tunnelUrl to set.public VpnGatewayStatusTunnel.Builder clearTunnelUrl()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;public VpnGatewayStatusTunnel.Builder setTunnelUrlBytes(com.google.protobuf.ByteString value)
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;value - The bytes for tunnelUrl to set.public final VpnGatewayStatusTunnel.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>public final VpnGatewayStatusTunnel.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>Copyright © 2023 Google LLC. All rights reserved.