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