public static final class TargetVpnGateway.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TargetVpnGateway.Builder> implements TargetVpnGatewayOrBuilder
Represents a Target VPN Gateway resource. The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview.Protobuf type
google.cloud.compute.v1.TargetVpnGateway| Modifier and Type | Method and Description |
|---|---|
TargetVpnGateway.Builder |
addAllForwardingRules(Iterable<String> values)
[Output Only] A list of URLs to the ForwardingRule resources.
|
TargetVpnGateway.Builder |
addAllTunnels(Iterable<String> values)
[Output Only] A list of URLs to VpnTunnel resources.
|
TargetVpnGateway.Builder |
addForwardingRules(String value)
[Output Only] A list of URLs to the ForwardingRule resources.
|
TargetVpnGateway.Builder |
addForwardingRulesBytes(com.google.protobuf.ByteString value)
[Output Only] A list of URLs to the ForwardingRule resources.
|
TargetVpnGateway.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TargetVpnGateway.Builder |
addTunnels(String value)
[Output Only] A list of URLs to VpnTunnel resources.
|
TargetVpnGateway.Builder |
addTunnelsBytes(com.google.protobuf.ByteString value)
[Output Only] A list of URLs to VpnTunnel resources.
|
TargetVpnGateway |
build() |
TargetVpnGateway |
buildPartial() |
TargetVpnGateway.Builder |
clear() |
TargetVpnGateway.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetVpnGateway.Builder |
clearDescription()
An optional description of this resource.
|
TargetVpnGateway.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TargetVpnGateway.Builder |
clearForwardingRules()
[Output Only] A list of URLs to the ForwardingRule resources.
|
TargetVpnGateway.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
TargetVpnGateway.Builder |
clearKind()
[Output Only] Type of resource.
|
TargetVpnGateway.Builder |
clearName()
Name of the resource.
|
TargetVpnGateway.Builder |
clearNetwork()
URL of the network to which this VPN gateway is attached.
|
TargetVpnGateway.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TargetVpnGateway.Builder |
clearRegion()
[Output Only] URL of the region where the target VPN gateway resides.
|
TargetVpnGateway.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
TargetVpnGateway.Builder |
clearStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
|
TargetVpnGateway.Builder |
clearTunnels()
[Output Only] A list of URLs to VpnTunnel resources.
|
TargetVpnGateway.Builder |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetVpnGateway |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getForwardingRules(int index)
[Output Only] A list of URLs to the ForwardingRule resources.
|
com.google.protobuf.ByteString |
getForwardingRulesBytes(int index)
[Output Only] A list of URLs to the ForwardingRule resources.
|
int |
getForwardingRulesCount()
[Output Only] A list of URLs to the ForwardingRule resources.
|
com.google.protobuf.ProtocolStringList |
getForwardingRulesList()
[Output Only] A list of URLs to the ForwardingRule resources.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getNetwork()
URL of the network to which this VPN gateway is attached.
|
com.google.protobuf.ByteString |
getNetworkBytes()
URL of the network to which this VPN gateway is attached.
|
String |
getRegion()
[Output Only] URL of the region where the target VPN gateway resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the target VPN gateway resides.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
|
String |
getTunnels(int index)
[Output Only] A list of URLs to VpnTunnel resources.
|
com.google.protobuf.ByteString |
getTunnelsBytes(int index)
[Output Only] A list of URLs to VpnTunnel resources.
|
int |
getTunnelsCount()
[Output Only] A list of URLs to VpnTunnel resources.
|
com.google.protobuf.ProtocolStringList |
getTunnelsList()
[Output Only] A list of URLs to VpnTunnel resources.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasNetwork()
URL of the network to which this VPN gateway is attached.
|
boolean |
hasRegion()
[Output Only] URL of the region where the target VPN gateway resides.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TargetVpnGateway.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TargetVpnGateway.Builder |
mergeFrom(com.google.protobuf.Message other) |
TargetVpnGateway.Builder |
mergeFrom(TargetVpnGateway other) |
TargetVpnGateway.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TargetVpnGateway.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetVpnGateway.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
TargetVpnGateway.Builder |
setDescription(String value)
An optional description of this resource.
|
TargetVpnGateway.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
TargetVpnGateway.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TargetVpnGateway.Builder |
setForwardingRules(int index,
String value)
[Output Only] A list of URLs to the ForwardingRule resources.
|
TargetVpnGateway.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
TargetVpnGateway.Builder |
setKind(String value)
[Output Only] Type of resource.
|
TargetVpnGateway.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource.
|
TargetVpnGateway.Builder |
setName(String value)
Name of the resource.
|
TargetVpnGateway.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource.
|
TargetVpnGateway.Builder |
setNetwork(String value)
URL of the network to which this VPN gateway is attached.
|
TargetVpnGateway.Builder |
setNetworkBytes(com.google.protobuf.ByteString value)
URL of the network to which this VPN gateway is attached.
|
TargetVpnGateway.Builder |
setRegion(String value)
[Output Only] URL of the region where the target VPN gateway resides.
|
TargetVpnGateway.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the target VPN gateway resides.
|
TargetVpnGateway.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TargetVpnGateway.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
TargetVpnGateway.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
TargetVpnGateway.Builder |
setStatus(String value)
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
|
TargetVpnGateway.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.
|
TargetVpnGateway.Builder |
setTunnels(int index,
String value)
[Output Only] A list of URLs to VpnTunnel resources.
|
TargetVpnGateway.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<TargetVpnGateway.Builder>public TargetVpnGateway.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TargetVpnGateway.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<TargetVpnGateway.Builder>public TargetVpnGateway getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TargetVpnGateway build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TargetVpnGateway buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TargetVpnGateway.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TargetVpnGateway.Builder>public TargetVpnGateway.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<TargetVpnGateway.Builder>public TargetVpnGateway.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TargetVpnGateway.Builder>public TargetVpnGateway.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TargetVpnGateway.Builder>public TargetVpnGateway.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<TargetVpnGateway.Builder>public TargetVpnGateway.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<TargetVpnGateway.Builder>public TargetVpnGateway.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TargetVpnGateway.Builder>public TargetVpnGateway.Builder mergeFrom(TargetVpnGateway other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TargetVpnGateway.Builder>public TargetVpnGateway.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<TargetVpnGateway.Builder>IOExceptionpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface TargetVpnGatewayOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface TargetVpnGatewayOrBuilderpublic TargetVpnGateway.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public TargetVpnGateway.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public TargetVpnGateway.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface TargetVpnGatewayOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface TargetVpnGatewayOrBuilderpublic TargetVpnGateway.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public TargetVpnGateway.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public TargetVpnGateway.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public com.google.protobuf.ProtocolStringList getForwardingRulesList()
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;getForwardingRulesList in interface TargetVpnGatewayOrBuilderpublic int getForwardingRulesCount()
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;getForwardingRulesCount in interface TargetVpnGatewayOrBuilderpublic String getForwardingRules(int index)
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;getForwardingRules in interface TargetVpnGatewayOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getForwardingRulesBytes(int index)
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;getForwardingRulesBytes in interface TargetVpnGatewayOrBuilderindex - The index of the value to return.public TargetVpnGateway.Builder setForwardingRules(int index, String value)
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;index - The index to set the value at.value - The forwardingRules to set.public TargetVpnGateway.Builder addForwardingRules(String value)
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;value - The forwardingRules to add.public TargetVpnGateway.Builder addAllForwardingRules(Iterable<String> values)
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;values - The forwardingRules to add.public TargetVpnGateway.Builder clearForwardingRules()
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;public TargetVpnGateway.Builder addForwardingRulesBytes(com.google.protobuf.ByteString value)
[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.
repeated string forwarding_rules = 315821365;value - The bytes of the forwardingRules to add.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface TargetVpnGatewayOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface TargetVpnGatewayOrBuilderpublic TargetVpnGateway.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public TargetVpnGateway.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasKind()
[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
optional string kind = 3292052;hasKind in interface TargetVpnGatewayOrBuilderpublic String getKind()
[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
optional string kind = 3292052;getKind in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
optional string kind = 3292052;getKindBytes in interface TargetVpnGatewayOrBuilderpublic TargetVpnGateway.Builder setKind(String value)
[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
optional string kind = 3292052;value - The kind to set.public TargetVpnGateway.Builder clearKind()
[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
optional string kind = 3292052;public TargetVpnGateway.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface TargetVpnGatewayOrBuilderpublic String getName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface TargetVpnGatewayOrBuilderpublic TargetVpnGateway.Builder setName(String value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The name to set.public TargetVpnGateway.Builder clearName()
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;public TargetVpnGateway.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The bytes for name to set.public boolean hasNetwork()
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
optional string network = 232872494;hasNetwork in interface TargetVpnGatewayOrBuilderpublic String getNetwork()
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
optional string network = 232872494;getNetwork in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getNetworkBytes()
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
optional string network = 232872494;getNetworkBytes in interface TargetVpnGatewayOrBuilderpublic TargetVpnGateway.Builder setNetwork(String value)
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
optional string network = 232872494;value - The network to set.public TargetVpnGateway.Builder clearNetwork()
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
optional string network = 232872494;public TargetVpnGateway.Builder setNetworkBytes(com.google.protobuf.ByteString value)
URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.
optional string network = 232872494;value - The bytes for network to set.public boolean hasRegion()
[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;hasRegion in interface TargetVpnGatewayOrBuilderpublic String getRegion()
[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegion in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegionBytes in interface TargetVpnGatewayOrBuilderpublic TargetVpnGateway.Builder setRegion(String value)
[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;value - The region to set.public TargetVpnGateway.Builder clearRegion()
[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;public TargetVpnGateway.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;value - The bytes for region to set.public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface TargetVpnGatewayOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface TargetVpnGatewayOrBuilderpublic TargetVpnGateway.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public TargetVpnGateway.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public TargetVpnGateway.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface TargetVpnGatewayOrBuilderpublic String getStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface TargetVpnGatewayOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface TargetVpnGatewayOrBuilderpublic TargetVpnGateway.Builder setStatus(String value)
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The status to set.public TargetVpnGateway.Builder clearStatus()
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;public TargetVpnGateway.Builder setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The bytes for status to set.public com.google.protobuf.ProtocolStringList getTunnelsList()
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;getTunnelsList in interface TargetVpnGatewayOrBuilderpublic int getTunnelsCount()
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;getTunnelsCount in interface TargetVpnGatewayOrBuilderpublic String getTunnels(int index)
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;getTunnels in interface TargetVpnGatewayOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTunnelsBytes(int index)
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;getTunnelsBytes in interface TargetVpnGatewayOrBuilderindex - The index of the value to return.public TargetVpnGateway.Builder setTunnels(int index, String value)
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;index - The index to set the value at.value - The tunnels to set.public TargetVpnGateway.Builder addTunnels(String value)
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;value - The tunnels to add.public TargetVpnGateway.Builder addAllTunnels(Iterable<String> values)
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;values - The tunnels to add.public TargetVpnGateway.Builder clearTunnels()
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;public TargetVpnGateway.Builder addTunnelsBytes(com.google.protobuf.ByteString value)
[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.
repeated string tunnels = 104561931;value - The bytes of the tunnels to add.public final TargetVpnGateway.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TargetVpnGateway.Builder>public final TargetVpnGateway.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TargetVpnGateway.Builder>Copyright © 2023 Google LLC. All rights reserved.