Class VpnGatewaysScopedList.Builder (1.55.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()

public boolean hasWarning()

[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
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(VpnGatewaysScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public VpnGatewaysScopedList.Builder mergeWarning(Warning value)

[Output Only] 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
VpnGatewaysScopedList.Builder

removeVpnGateways(int index)

public VpnGatewaysScopedList.Builder removeVpnGateways(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
VpnGatewaysScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVpnGateways(int index, VpnGateway value)

public VpnGatewaysScopedList.Builder setVpnGateways(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

setVpnGateways(int index, VpnGateway.Builder builderForValue)

public VpnGatewaysScopedList.Builder setVpnGateways(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

setWarning(Warning value)

public VpnGatewaysScopedList.Builder setWarning(Warning value)

[Output Only] 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
VpnGatewaysScopedList.Builder

setWarning(Warning.Builder builderForValue)

public VpnGatewaysScopedList.Builder setWarning(Warning.Builder builderForValue)

[Output Only] 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
VpnGatewaysScopedList.Builder