Class TargetVpnGatewaysScopedList.Builder (1.21.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.TargetVpnGateway>
Returns
TypeDescription
TargetVpnGatewaysScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetVpnGatewaysScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTargetVpnGateway
Returns
TypeDescription
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
NameDescription
builderForValueTargetVpnGateway.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTargetVpnGateway
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTargetVpnGateway.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TargetVpnGateway.Builder

build()

public TargetVpnGatewaysScopedList build()
Returns
TypeDescription
TargetVpnGatewaysScopedList

buildPartial()

public TargetVpnGatewaysScopedList buildPartial()
Returns
TypeDescription
TargetVpnGatewaysScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TargetVpnGatewaysScopedList getDefaultInstanceForType()
Returns
TypeDescription
TargetVpnGatewaysScopedList

getDescriptorForType()

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

public TargetVpnGatewaysScopedList.Builder mergeFrom(TargetVpnGatewaysScopedList other)
Parameter
NameDescription
otherTargetVpnGatewaysScopedList
Returns
TypeDescription
TargetVpnGatewaysScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public TargetVpnGatewaysScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTargetVpnGateway
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTargetVpnGateway.Builder
Returns
TypeDescription
TargetVpnGatewaysScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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