Class VpnGatewaysScopedList.Builder (1.88.0)

public static final class VpnGatewaysScopedList.Builder extends GeneratedMessageV3.Builder<VpnGatewaysScopedList.Builder> implements VpnGatewaysScopedListOrBuilder

Protobuf type google.cloud.compute.v1.VpnGatewaysScopedList

Static Methods

getDescriptor()

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

Methods

addAllVpnGateways(Iterable<? extends VpnGateway> values)

public VpnGatewaysScopedList.Builder addAllVpnGateways(Iterable<? extends VpnGateway> values)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addVpnGateways(VpnGateway value)

public VpnGatewaysScopedList.Builder addVpnGateways(VpnGateway value)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Parameter
Name Description
value VpnGateway
Returns
Type Description
VpnGatewaysScopedList.Builder

addVpnGateways(VpnGateway.Builder builderForValue)

public VpnGatewaysScopedList.Builder addVpnGateways(VpnGateway.Builder builderForValue)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Parameter
Name Description
builderForValue VpnGateway.Builder
Returns
Type Description
VpnGatewaysScopedList.Builder

addVpnGateways(int index, VpnGateway value)

public VpnGatewaysScopedList.Builder addVpnGateways(int index, VpnGateway value)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Parameters
Name Description
index int
value VpnGateway
Returns
Type Description
VpnGatewaysScopedList.Builder

addVpnGateways(int index, VpnGateway.Builder builderForValue)

public VpnGatewaysScopedList.Builder addVpnGateways(int index, VpnGateway.Builder builderForValue)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Parameters
Name Description
index int
builderForValue VpnGateway.Builder
Returns
Type Description
VpnGatewaysScopedList.Builder

addVpnGatewaysBuilder()

public VpnGateway.Builder addVpnGatewaysBuilder()

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Returns
Type Description
VpnGateway.Builder

addVpnGatewaysBuilder(int index)

public VpnGateway.Builder addVpnGatewaysBuilder(int index)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Parameter
Name Description
index int
Returns
Type Description
VpnGateway.Builder

build()

public VpnGatewaysScopedList build()
Returns
Type Description
VpnGatewaysScopedList

buildPartial()

public VpnGatewaysScopedList buildPartial()
Returns
Type Description
VpnGatewaysScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVpnGateways()

public VpnGatewaysScopedList.Builder clearVpnGateways()

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Returns
Type Description
VpnGatewaysScopedList.Builder

clearWarning()

public VpnGatewaysScopedList.Builder clearWarning()

[Output Only] Informational warning which replaces the list of addresses when the list is empty.

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

Returns
Type Description
VpnGatewaysScopedList.Builder

clone()

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

getDefaultInstanceForType()

public VpnGatewaysScopedList getDefaultInstanceForType()
Returns
Type Description
VpnGatewaysScopedList

getDescriptorForType()

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

getVpnGateways(int index)

public VpnGateway getVpnGateways(int index)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Parameter
Name Description
index int
Returns
Type Description
VpnGateway

getVpnGatewaysBuilder(int index)

public VpnGateway.Builder getVpnGatewaysBuilder(int index)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Parameter
Name Description
index int
Returns
Type Description
VpnGateway.Builder

getVpnGatewaysBuilderList()

public List<VpnGateway.Builder> getVpnGatewaysBuilderList()

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Returns
Type Description
List<Builder>

getVpnGatewaysCount()

public int getVpnGatewaysCount()

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Returns
Type Description
int

getVpnGatewaysList()

public List<VpnGateway> getVpnGatewaysList()

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Returns
Type Description
List<VpnGateway>

getVpnGatewaysOrBuilder(int index)

public VpnGatewayOrBuilder getVpnGatewaysOrBuilder(int index)

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

Parameter
Name Description
index int
Returns
Type Description
VpnGatewayOrBuilder

getVpnGatewaysOrBuilderList()

public List<? extends VpnGatewayOrBuilder> getVpnGatewaysOrBuilderList()

[Output Only] A list of VPN gateways contained in this scope.

repeated .google.cloud.compute.v1.VpnGateway vpn_gateways = 259177882;

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

getWarning()

public Warning getWarning()

[Output Only] 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()

[Output Only] 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()

[Output Only] 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()