Class VpnGatewaysScopedList.Builder (1.49.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.VpnGateway>
Returns
TypeDescription
VpnGatewaysScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VpnGatewaysScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueVpnGateway
Returns
TypeDescription
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
NameDescription
builderForValueVpnGateway.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVpnGateway
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVpnGateway.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VpnGateway.Builder

build()

public VpnGatewaysScopedList build()
Returns
TypeDescription
VpnGatewaysScopedList

buildPartial()

public VpnGatewaysScopedList buildPartial()
Returns
TypeDescription
VpnGatewaysScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public VpnGatewaysScopedList getDefaultInstanceForType()
Returns
TypeDescription
VpnGatewaysScopedList

getDescriptorForType()

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

public VpnGatewaysScopedList.Builder mergeFrom(VpnGatewaysScopedList other)
Parameter
NameDescription
otherVpnGatewaysScopedList
Returns
TypeDescription
VpnGatewaysScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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