Class VpnTunnelsScopedList.Builder (1.55.0)

public static final class VpnTunnelsScopedList.Builder extends GeneratedMessageV3.Builder<VpnTunnelsScopedList.Builder> implements VpnTunnelsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.VpnTunnelsScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllVpnTunnels(Iterable<? extends VpnTunnel> values)

public VpnTunnelsScopedList.Builder addAllVpnTunnels(Iterable<? extends VpnTunnel> values)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.VpnTunnel>
Returns
Type Description
VpnTunnelsScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpnTunnelsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides

addVpnTunnels(VpnTunnel value)

public VpnTunnelsScopedList.Builder addVpnTunnels(VpnTunnel value)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameter
Name Description
value VpnTunnel
Returns
Type Description
VpnTunnelsScopedList.Builder

addVpnTunnels(VpnTunnel.Builder builderForValue)

public VpnTunnelsScopedList.Builder addVpnTunnels(VpnTunnel.Builder builderForValue)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameter
Name Description
builderForValue VpnTunnel.Builder
Returns
Type Description
VpnTunnelsScopedList.Builder

addVpnTunnels(int index, VpnTunnel value)

public VpnTunnelsScopedList.Builder addVpnTunnels(int index, VpnTunnel value)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameters
Name Description
index int
value VpnTunnel
Returns
Type Description
VpnTunnelsScopedList.Builder

addVpnTunnels(int index, VpnTunnel.Builder builderForValue)

public VpnTunnelsScopedList.Builder addVpnTunnels(int index, VpnTunnel.Builder builderForValue)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameters
Name Description
index int
builderForValue VpnTunnel.Builder
Returns
Type Description
VpnTunnelsScopedList.Builder

addVpnTunnelsBuilder()

public VpnTunnel.Builder addVpnTunnelsBuilder()

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Returns
Type Description
VpnTunnel.Builder

addVpnTunnelsBuilder(int index)

public VpnTunnel.Builder addVpnTunnelsBuilder(int index)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameter
Name Description
index int
Returns
Type Description
VpnTunnel.Builder

build()

public VpnTunnelsScopedList build()
Returns
Type Description
VpnTunnelsScopedList

buildPartial()

public VpnTunnelsScopedList buildPartial()
Returns
Type Description
VpnTunnelsScopedList

clear()

public VpnTunnelsScopedList.Builder clear()
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VpnTunnelsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VpnTunnelsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides

clearVpnTunnels()

public VpnTunnelsScopedList.Builder clearVpnTunnels()

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Returns
Type Description
VpnTunnelsScopedList.Builder

clearWarning()

public VpnTunnelsScopedList.Builder clearWarning()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
VpnTunnelsScopedList.Builder

clone()

public VpnTunnelsScopedList.Builder clone()
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides

getDefaultInstanceForType()

public VpnTunnelsScopedList getDefaultInstanceForType()
Returns
Type Description
VpnTunnelsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVpnTunnels(int index)

public VpnTunnel getVpnTunnels(int index)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameter
Name Description
index int
Returns
Type Description
VpnTunnel

getVpnTunnelsBuilder(int index)

public VpnTunnel.Builder getVpnTunnelsBuilder(int index)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameter
Name Description
index int
Returns
Type Description
VpnTunnel.Builder

getVpnTunnelsBuilderList()

public List<VpnTunnel.Builder> getVpnTunnelsBuilderList()

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Returns
Type Description
List<Builder>

getVpnTunnelsCount()

public int getVpnTunnelsCount()

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Returns
Type Description
int

getVpnTunnelsList()

public List<VpnTunnel> getVpnTunnelsList()

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Returns
Type Description
List<VpnTunnel>

getVpnTunnelsOrBuilder(int index)

public VpnTunnelOrBuilder getVpnTunnelsOrBuilder(int index)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameter
Name Description
index int
Returns
Type Description
VpnTunnelOrBuilder

getVpnTunnelsOrBuilderList()

public List<? extends VpnTunnelOrBuilder> getVpnTunnelsOrBuilderList()

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.VpnTunnelOrBuilder>

getWarning()

public Warning getWarning()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VpnTunnelsScopedList other)

public VpnTunnelsScopedList.Builder mergeFrom(VpnTunnelsScopedList other)
Parameter
Name Description
other VpnTunnelsScopedList
Returns
Type Description
VpnTunnelsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VpnTunnelsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VpnTunnelsScopedList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpnTunnelsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides

mergeWarning(Warning value)

public VpnTunnelsScopedList.Builder mergeWarning(Warning value)

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
VpnTunnelsScopedList.Builder

removeVpnTunnels(int index)

public VpnTunnelsScopedList.Builder removeVpnTunnels(int index)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameter
Name Description
index int
Returns
Type Description
VpnTunnelsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VpnTunnelsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VpnTunnelsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VpnTunnelsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VpnTunnelsScopedList.Builder
Overrides

setVpnTunnels(int index, VpnTunnel value)

public VpnTunnelsScopedList.Builder setVpnTunnels(int index, VpnTunnel value)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameters
Name Description
index int
value VpnTunnel
Returns
Type Description
VpnTunnelsScopedList.Builder

setVpnTunnels(int index, VpnTunnel.Builder builderForValue)

public VpnTunnelsScopedList.Builder setVpnTunnels(int index, VpnTunnel.Builder builderForValue)

A list of VPN tunnels contained in this scope.

repeated .google.cloud.compute.v1.VpnTunnel vpn_tunnels = 163494080;

Parameters
Name Description
index int
builderForValue VpnTunnel.Builder
Returns
Type Description
VpnTunnelsScopedList.Builder

setWarning(Warning value)

public VpnTunnelsScopedList.Builder setWarning(Warning value)

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
VpnTunnelsScopedList.Builder

setWarning(Warning.Builder builderForValue)

public VpnTunnelsScopedList.Builder setWarning(Warning.Builder builderForValue)

Informational warning which replaces the list of addresses when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
VpnTunnelsScopedList.Builder