Class VpnTunnelsScopedList.Builder (1.46.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.VpnTunnel>
Returns
TypeDescription
VpnTunnelsScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpnTunnelsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueVpnTunnel
Returns
TypeDescription
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
NameDescription
builderForValueVpnTunnel.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVpnTunnel
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVpnTunnel.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VpnTunnel.Builder

build()

public VpnTunnelsScopedList build()
Returns
TypeDescription
VpnTunnelsScopedList

buildPartial()

public VpnTunnelsScopedList buildPartial()
Returns
TypeDescription
VpnTunnelsScopedList

clear()

public VpnTunnelsScopedList.Builder clear()
Returns
TypeDescription
VpnTunnelsScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VpnTunnelsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VpnTunnelsScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VpnTunnelsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VpnTunnelsScopedList.Builder

clone()

public VpnTunnelsScopedList.Builder clone()
Returns
TypeDescription
VpnTunnelsScopedList.Builder
Overrides

getDefaultInstanceForType()

public VpnTunnelsScopedList getDefaultInstanceForType()
Returns
TypeDescription
VpnTunnelsScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the warning field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VpnTunnelsScopedList other)

public VpnTunnelsScopedList.Builder mergeFrom(VpnTunnelsScopedList other)
Parameter
NameDescription
otherVpnTunnelsScopedList
Returns
TypeDescription
VpnTunnelsScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VpnTunnelsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VpnTunnelsScopedList.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VpnTunnelsScopedList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VpnTunnelsScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VpnTunnelsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VpnTunnelsScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VpnTunnelsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VpnTunnelsScopedList.Builder
Overrides

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

public VpnTunnelsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VpnTunnelsScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VpnTunnelsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueVpnTunnel
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVpnTunnel.Builder
Returns
TypeDescription
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
NameDescription
valueWarning
Returns
TypeDescription
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
NameDescription
builderForValueWarning.Builder
Returns
TypeDescription
VpnTunnelsScopedList.Builder