public static final class SubnetworksScopedList.Builder extends GeneratedMessageV3.Builder<SubnetworksScopedList.Builder> implements SubnetworksScopedListOrBuilder
Protobuf type google.cloud.compute.v1.SubnetworksScopedList
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllSubnetworks(Iterable<? extends Subnetwork> values)
public SubnetworksScopedList.Builder addAllSubnetworks(Iterable<? extends Subnetwork> values)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.Subnetwork>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubnetworksScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSubnetworks(Subnetwork value)
public SubnetworksScopedList.Builder addSubnetworks(Subnetwork value)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameter
Returns
addSubnetworks(Subnetwork.Builder builderForValue)
public SubnetworksScopedList.Builder addSubnetworks(Subnetwork.Builder builderForValue)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameter
Returns
addSubnetworks(int index, Subnetwork value)
public SubnetworksScopedList.Builder addSubnetworks(int index, Subnetwork value)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameters
Returns
addSubnetworks(int index, Subnetwork.Builder builderForValue)
public SubnetworksScopedList.Builder addSubnetworks(int index, Subnetwork.Builder builderForValue)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameters
Returns
addSubnetworksBuilder()
public Subnetwork.Builder addSubnetworksBuilder()
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Returns
addSubnetworksBuilder(int index)
public Subnetwork.Builder addSubnetworksBuilder(int index)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameter
Returns
build()
public SubnetworksScopedList build()
Returns
buildPartial()
public SubnetworksScopedList buildPartial()
Returns
clear()
public SubnetworksScopedList.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SubnetworksScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SubnetworksScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSubnetworks()
public SubnetworksScopedList.Builder clearSubnetworks()
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Returns
clearWarning()
public SubnetworksScopedList.Builder clearWarning()
An informational warning that appears when the list of addresses is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
clone()
public SubnetworksScopedList.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SubnetworksScopedList getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSubnetworks(int index)
public Subnetwork getSubnetworks(int index)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameter
Returns
getSubnetworksBuilder(int index)
public Subnetwork.Builder getSubnetworksBuilder(int index)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameter
Returns
getSubnetworksBuilderList()
public List<Subnetwork.Builder> getSubnetworksBuilderList()
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Returns
getSubnetworksCount()
public int getSubnetworksCount()
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Returns
getSubnetworksList()
public List<Subnetwork> getSubnetworksList()
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Returns
getSubnetworksOrBuilder(int index)
public SubnetworkOrBuilder getSubnetworksOrBuilder(int index)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameter
Returns
getSubnetworksOrBuilderList()
public List<? extends SubnetworkOrBuilder> getSubnetworksOrBuilderList()
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Returns
Type | Description |
List<? extends com.google.cloud.compute.v1.SubnetworkOrBuilder> | |
getWarning()
public Warning getWarning()
An informational warning that appears when the list of addresses is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
getWarningBuilder()
public Warning.Builder getWarningBuilder()
An informational warning that appears when the list of addresses is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
getWarningOrBuilder()
public WarningOrBuilder getWarningOrBuilder()
An informational warning that appears when the list of addresses is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Returns
hasWarning()
public boolean hasWarning()
An informational warning that appears when the list of addresses 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(SubnetworksScopedList other)
public SubnetworksScopedList.Builder mergeFrom(SubnetworksScopedList other)
Parameter
Returns
public SubnetworksScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SubnetworksScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubnetworksScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWarning(Warning value)
public SubnetworksScopedList.Builder mergeWarning(Warning value)
An informational warning that appears when the list of addresses is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
removeSubnetworks(int index)
public SubnetworksScopedList.Builder removeSubnetworks(int index)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SubnetworksScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubnetworksScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSubnetworks(int index, Subnetwork value)
public SubnetworksScopedList.Builder setSubnetworks(int index, Subnetwork value)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameters
Returns
setSubnetworks(int index, Subnetwork.Builder builderForValue)
public SubnetworksScopedList.Builder setSubnetworks(int index, Subnetwork.Builder builderForValue)
A list of subnetworks contained in this scope.
repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SubnetworksScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWarning(Warning value)
public SubnetworksScopedList.Builder setWarning(Warning value)
An informational warning that appears when the list of addresses is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns
setWarning(Warning.Builder builderForValue)
public SubnetworksScopedList.Builder setWarning(Warning.Builder builderForValue)
An informational warning that appears when the list of addresses is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
Parameter
Returns