public static final class VpnGatewaysScopedList.Builder extends GeneratedMessageV3.Builder<VpnGatewaysScopedList.Builder> implements VpnGatewaysScopedListOrBuilder
Protobuf type google.cloud.compute.v1.VpnGatewaysScopedList
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewaysScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public VpnGatewaysScopedList build()
Returns
buildPartial()
public VpnGatewaysScopedList buildPartial()
Returns
clear()
public VpnGatewaysScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public VpnGatewaysScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VpnGatewaysScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public VpnGatewaysScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VpnGatewaysScopedList getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VpnGatewaysScopedList other)
public VpnGatewaysScopedList.Builder mergeFrom(VpnGatewaysScopedList other)
Parameter
Returns
public VpnGatewaysScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VpnGatewaysScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewaysScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VpnGatewaysScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VpnGatewaysScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VpnGatewaysScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
Returns