Class TargetVpnGatewaysScopedList.Builder (1.59.0)

public static final class TargetVpnGatewaysScopedList.Builder extends GeneratedMessageV3.Builder<TargetVpnGatewaysScopedList.Builder> implements TargetVpnGatewaysScopedListOrBuilder

Protobuf type google.cloud.compute.v1.TargetVpnGatewaysScopedList

Static Methods

getDescriptor()

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

Methods

addAllTargetVpnGateways(Iterable<? extends TargetVpnGateway> values)

public TargetVpnGatewaysScopedList.Builder addAllTargetVpnGateways(Iterable<? extends TargetVpnGateway> values)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTargetVpnGateways(TargetVpnGateway value)

public TargetVpnGatewaysScopedList.Builder addTargetVpnGateways(TargetVpnGateway value)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameter
Name Description
value TargetVpnGateway
Returns
Type Description
TargetVpnGatewaysScopedList.Builder

addTargetVpnGateways(TargetVpnGateway.Builder builderForValue)

public TargetVpnGatewaysScopedList.Builder addTargetVpnGateways(TargetVpnGateway.Builder builderForValue)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameter
Name Description
builderForValue TargetVpnGateway.Builder
Returns
Type Description
TargetVpnGatewaysScopedList.Builder

addTargetVpnGateways(int index, TargetVpnGateway value)

public TargetVpnGatewaysScopedList.Builder addTargetVpnGateways(int index, TargetVpnGateway value)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameters
Name Description
index int
value TargetVpnGateway
Returns
Type Description
TargetVpnGatewaysScopedList.Builder

addTargetVpnGateways(int index, TargetVpnGateway.Builder builderForValue)

public TargetVpnGatewaysScopedList.Builder addTargetVpnGateways(int index, TargetVpnGateway.Builder builderForValue)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameters
Name Description
index int
builderForValue TargetVpnGateway.Builder
Returns
Type Description
TargetVpnGatewaysScopedList.Builder

addTargetVpnGatewaysBuilder()

public TargetVpnGateway.Builder addTargetVpnGatewaysBuilder()

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Returns
Type Description
TargetVpnGateway.Builder

addTargetVpnGatewaysBuilder(int index)

public TargetVpnGateway.Builder addTargetVpnGatewaysBuilder(int index)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameter
Name Description
index int
Returns
Type Description
TargetVpnGateway.Builder

build()

public TargetVpnGatewaysScopedList build()
Returns
Type Description
TargetVpnGatewaysScopedList

buildPartial()

public TargetVpnGatewaysScopedList buildPartial()
Returns
Type Description
TargetVpnGatewaysScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetVpnGateways()

public TargetVpnGatewaysScopedList.Builder clearTargetVpnGateways()

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Returns
Type Description
TargetVpnGatewaysScopedList.Builder

clearWarning()

public TargetVpnGatewaysScopedList.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
TargetVpnGatewaysScopedList.Builder

clone()

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

getDefaultInstanceForType()

public TargetVpnGatewaysScopedList getDefaultInstanceForType()
Returns
Type Description
TargetVpnGatewaysScopedList

getDescriptorForType()

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

getTargetVpnGateways(int index)

public TargetVpnGateway getTargetVpnGateways(int index)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameter
Name Description
index int
Returns
Type Description
TargetVpnGateway

getTargetVpnGatewaysBuilder(int index)

public TargetVpnGateway.Builder getTargetVpnGatewaysBuilder(int index)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameter
Name Description
index int
Returns
Type Description
TargetVpnGateway.Builder

getTargetVpnGatewaysBuilderList()

public List<TargetVpnGateway.Builder> getTargetVpnGatewaysBuilderList()

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Returns
Type Description
List<Builder>

getTargetVpnGatewaysCount()

public int getTargetVpnGatewaysCount()

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Returns
Type Description
int

getTargetVpnGatewaysList()

public List<TargetVpnGateway> getTargetVpnGatewaysList()

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Returns
Type Description
List<TargetVpnGateway>

getTargetVpnGatewaysOrBuilder(int index)

public TargetVpnGatewayOrBuilder getTargetVpnGatewaysOrBuilder(int index)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameter
Name Description
index int
Returns
Type Description
TargetVpnGatewayOrBuilder

getTargetVpnGatewaysOrBuilderList()

public List<? extends TargetVpnGatewayOrBuilder> getTargetVpnGatewaysOrBuilderList()

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

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

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(TargetVpnGatewaysScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public TargetVpnGatewaysScopedList.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
TargetVpnGatewaysScopedList.Builder

removeTargetVpnGateways(int index)

public TargetVpnGatewaysScopedList.Builder removeTargetVpnGateways(int index)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameter
Name Description
index int
Returns
Type Description
TargetVpnGatewaysScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTargetVpnGateways(int index, TargetVpnGateway value)

public TargetVpnGatewaysScopedList.Builder setTargetVpnGateways(int index, TargetVpnGateway value)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameters
Name Description
index int
value TargetVpnGateway
Returns
Type Description
TargetVpnGatewaysScopedList.Builder

setTargetVpnGateways(int index, TargetVpnGateway.Builder builderForValue)

public TargetVpnGatewaysScopedList.Builder setTargetVpnGateways(int index, TargetVpnGateway.Builder builderForValue)

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

repeated .google.cloud.compute.v1.TargetVpnGateway target_vpn_gateways = 401770888;

Parameters
Name Description
index int
builderForValue TargetVpnGateway.Builder
Returns
Type Description
TargetVpnGatewaysScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public TargetVpnGatewaysScopedList.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
TargetVpnGatewaysScopedList.Builder

setWarning(Warning.Builder builderForValue)

public TargetVpnGatewaysScopedList.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
TargetVpnGatewaysScopedList.Builder