Package com.google.cloud.compute.v1
Class VpnGatewayStatusTunnel.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
- com.google.cloud.compute.v1.VpnGatewayStatusTunnel.Builder
-
- All Implemented Interfaces:
VpnGatewayStatusTunnelOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- VpnGatewayStatusTunnel
public static final class VpnGatewayStatusTunnel.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder> implements VpnGatewayStatusTunnelOrBuilder
Contains some information about a VPN tunnel.
Protobuf typegoogle.cloud.compute.v1.VpnGatewayStatusTunnel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 a Google Cloud 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 a Google Cloud 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 a Google Cloud VPN gateway.boolean
hasTunnelUrl()
URL reference to the VPN tunnel.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VpnGatewayStatusTunnel.Builder
mergeFrom(VpnGatewayStatusTunnel other)
VpnGatewayStatusTunnel.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VpnGatewayStatusTunnel.Builder
mergeFrom(com.google.protobuf.Message 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 a Google Cloud 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)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
clear
public VpnGatewayStatusTunnel.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
getDefaultInstanceForType
public VpnGatewayStatusTunnel getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VpnGatewayStatusTunnel build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VpnGatewayStatusTunnel buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VpnGatewayStatusTunnel.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
setField
public VpnGatewayStatusTunnel.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
clearField
public VpnGatewayStatusTunnel.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
clearOneof
public VpnGatewayStatusTunnel.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
setRepeatedField
public VpnGatewayStatusTunnel.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
addRepeatedField
public VpnGatewayStatusTunnel.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
mergeFrom
public VpnGatewayStatusTunnel.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayStatusTunnel.Builder>
-
mergeFrom
public VpnGatewayStatusTunnel.Builder mergeFrom(VpnGatewayStatusTunnel other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
mergeFrom
public VpnGatewayStatusTunnel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VpnGatewayStatusTunnel.Builder>
- Throws:
IOException
-
hasLocalGatewayInterface
public boolean hasLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
- Specified by:
hasLocalGatewayInterface
in interfaceVpnGatewayStatusTunnelOrBuilder
- Returns:
- Whether the localGatewayInterface field is set.
-
getLocalGatewayInterface
public int getLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
- Specified by:
getLocalGatewayInterface
in interfaceVpnGatewayStatusTunnelOrBuilder
- Returns:
- The localGatewayInterface.
-
setLocalGatewayInterface
public VpnGatewayStatusTunnel.Builder setLocalGatewayInterface(int value)
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
- Parameters:
value
- The localGatewayInterface to set.- Returns:
- This builder for chaining.
-
clearLocalGatewayInterface
public VpnGatewayStatusTunnel.Builder clearLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
- Returns:
- This builder for chaining.
-
hasPeerGatewayInterface
public boolean hasPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
- Specified by:
hasPeerGatewayInterface
in interfaceVpnGatewayStatusTunnelOrBuilder
- Returns:
- Whether the peerGatewayInterface field is set.
-
getPeerGatewayInterface
public int getPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
- Specified by:
getPeerGatewayInterface
in interfaceVpnGatewayStatusTunnelOrBuilder
- Returns:
- The peerGatewayInterface.
-
setPeerGatewayInterface
public 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 a Google Cloud VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
- Parameters:
value
- The peerGatewayInterface to set.- Returns:
- This builder for chaining.
-
clearPeerGatewayInterface
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 a Google Cloud VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
- Returns:
- This builder for chaining.
-
hasTunnelUrl
public boolean hasTunnelUrl()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
- Specified by:
hasTunnelUrl
in interfaceVpnGatewayStatusTunnelOrBuilder
- Returns:
- Whether the tunnelUrl field is set.
-
getTunnelUrl
public String getTunnelUrl()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
- Specified by:
getTunnelUrl
in interfaceVpnGatewayStatusTunnelOrBuilder
- Returns:
- The tunnelUrl.
-
getTunnelUrlBytes
public com.google.protobuf.ByteString getTunnelUrlBytes()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
- Specified by:
getTunnelUrlBytes
in interfaceVpnGatewayStatusTunnelOrBuilder
- Returns:
- The bytes for tunnelUrl.
-
setTunnelUrl
public VpnGatewayStatusTunnel.Builder setTunnelUrl(String value)
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
- Parameters:
value
- The tunnelUrl to set.- Returns:
- This builder for chaining.
-
clearTunnelUrl
public VpnGatewayStatusTunnel.Builder clearTunnelUrl()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
- Returns:
- This builder for chaining.
-
setTunnelUrlBytes
public VpnGatewayStatusTunnel.Builder setTunnelUrlBytes(com.google.protobuf.ByteString value)
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
- Parameters:
value
- The bytes for tunnelUrl to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final VpnGatewayStatusTunnel.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
mergeUnknownFields
public final VpnGatewayStatusTunnel.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VpnGatewayStatusTunnel.Builder>
-
-