- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 1.0.0
- 0.5.0
public static final class LinkedVpnTunnels.Builder extends GeneratedMessageV3.Builder<LinkedVpnTunnels.Builder> implements LinkedVpnTunnelsOrBuilder
A collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.
Protobuf type google.cloud.networkconnectivity.v1.LinkedVpnTunnels
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LinkedVpnTunnels.BuilderImplements
LinkedVpnTunnelsOrBuilderMethods
addAllUris(Iterable<String> values)
public LinkedVpnTunnels.Builder addAllUris(Iterable<String> values)
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
values | Iterable<String> The uris to add. |
Type | Description |
LinkedVpnTunnels.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LinkedVpnTunnels.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LinkedVpnTunnels.Builder |
addUris(String value)
public LinkedVpnTunnels.Builder addUris(String value)
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The uris to add. |
Type | Description |
LinkedVpnTunnels.Builder | This builder for chaining. |
addUrisBytes(ByteString value)
public LinkedVpnTunnels.Builder addUrisBytes(ByteString value)
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes of the uris to add. |
Type | Description |
LinkedVpnTunnels.Builder | This builder for chaining. |
build()
public LinkedVpnTunnels build()
Type | Description |
LinkedVpnTunnels |
buildPartial()
public LinkedVpnTunnels buildPartial()
Type | Description |
LinkedVpnTunnels |
clear()
public LinkedVpnTunnels.Builder clear()
Type | Description |
LinkedVpnTunnels.Builder |
clearField(Descriptors.FieldDescriptor field)
public LinkedVpnTunnels.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LinkedVpnTunnels.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public LinkedVpnTunnels.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LinkedVpnTunnels.Builder |
clearSiteToSiteDataTransfer()
public LinkedVpnTunnels.Builder clearSiteToSiteDataTransfer()
A value that controls whether site-to-site data transfer is enabled for these resources. This field is set to false by default, but you must set it to true. Note that data transfer is available only in supported locations.
bool site_to_site_data_transfer = 2;
Type | Description |
LinkedVpnTunnels.Builder | This builder for chaining. |
clearUris()
public LinkedVpnTunnels.Builder clearUris()
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
LinkedVpnTunnels.Builder | This builder for chaining. |
clone()
public LinkedVpnTunnels.Builder clone()
Type | Description |
LinkedVpnTunnels.Builder |
getDefaultInstanceForType()
public LinkedVpnTunnels getDefaultInstanceForType()
Type | Description |
LinkedVpnTunnels |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSiteToSiteDataTransfer()
public boolean getSiteToSiteDataTransfer()
A value that controls whether site-to-site data transfer is enabled for these resources. This field is set to false by default, but you must set it to true. Note that data transfer is available only in supported locations.
bool site_to_site_data_transfer = 2;
Type | Description |
boolean | The siteToSiteDataTransfer. |
getUris(int index)
public String getUris(int index)
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The uris at the given index. |
getUrisBytes(int index)
public ByteString getUrisBytes(int index)
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the uris at the given index. |
getUrisCount()
public int getUrisCount()
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
int | The count of uris. |
getUrisList()
public ProtocolStringList getUrisList()
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ProtocolStringList | A list containing the uris. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(LinkedVpnTunnels other)
public LinkedVpnTunnels.Builder mergeFrom(LinkedVpnTunnels other)
Name | Description |
other | LinkedVpnTunnels |
Type | Description |
LinkedVpnTunnels.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LinkedVpnTunnels.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LinkedVpnTunnels.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LinkedVpnTunnels.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LinkedVpnTunnels.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LinkedVpnTunnels.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LinkedVpnTunnels.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LinkedVpnTunnels.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LinkedVpnTunnels.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LinkedVpnTunnels.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LinkedVpnTunnels.Builder |
setSiteToSiteDataTransfer(boolean value)
public LinkedVpnTunnels.Builder setSiteToSiteDataTransfer(boolean value)
A value that controls whether site-to-site data transfer is enabled for these resources. This field is set to false by default, but you must set it to true. Note that data transfer is available only in supported locations.
bool site_to_site_data_transfer = 2;
Name | Description |
value | boolean The siteToSiteDataTransfer to set. |
Type | Description |
LinkedVpnTunnels.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final LinkedVpnTunnels.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LinkedVpnTunnels.Builder |
setUris(int index, String value)
public LinkedVpnTunnels.Builder setUris(int index, String value)
The URIs of linked VPN tunnel resources.
repeated string uris = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
index | int The index to set the value at. |
value | String The uris to set. |
Type | Description |
LinkedVpnTunnels.Builder | This builder for chaining. |