Class SubnetworksScopedList.Builder (1.53.0)

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
Type Description
Descriptor

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
Type Description
SubnetworksScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubnetworksScopedList.Builder
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
Name Description
value Subnetwork
Returns
Type Description
SubnetworksScopedList.Builder

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
Name Description
builderForValue Subnetwork.Builder
Returns
Type Description
SubnetworksScopedList.Builder

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
Name Description
index int
value Subnetwork
Returns
Type Description
SubnetworksScopedList.Builder

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
Name Description
index int
builderForValue Subnetwork.Builder
Returns
Type Description
SubnetworksScopedList.Builder

addSubnetworksBuilder()

public Subnetwork.Builder addSubnetworksBuilder()

A list of subnetworks contained in this scope.

repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;

Returns
Type Description
Subnetwork.Builder

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
Name Description
index int
Returns
Type Description
Subnetwork.Builder

build()

public SubnetworksScopedList build()
Returns
Type Description
SubnetworksScopedList

buildPartial()

public SubnetworksScopedList buildPartial()
Returns
Type Description
SubnetworksScopedList

clear()

public SubnetworksScopedList.Builder clear()
Returns
Type Description
SubnetworksScopedList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SubnetworksScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubnetworksScopedList.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SubnetworksScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubnetworksScopedList.Builder
Overrides

clearSubnetworks()

public SubnetworksScopedList.Builder clearSubnetworks()

A list of subnetworks contained in this scope.

repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;

Returns
Type Description
SubnetworksScopedList.Builder

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
Type Description
SubnetworksScopedList.Builder

clone()

public SubnetworksScopedList.Builder clone()
Returns
Type Description
SubnetworksScopedList.Builder
Overrides

getDefaultInstanceForType()

public SubnetworksScopedList getDefaultInstanceForType()
Returns
Type Description
SubnetworksScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
Subnetwork

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
Name Description
index int
Returns
Type Description
Subnetwork.Builder

getSubnetworksBuilderList()

public List<Subnetwork.Builder> getSubnetworksBuilderList()

A list of subnetworks contained in this scope.

repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;

Returns
Type Description
List<Builder>

getSubnetworksCount()

public int getSubnetworksCount()

A list of subnetworks contained in this scope.

repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;

Returns
Type Description
int

getSubnetworksList()

public List<Subnetwork> getSubnetworksList()

A list of subnetworks contained in this scope.

repeated .google.cloud.compute.v1.Subnetwork subnetworks = 415853125;

Returns
Type Description
List<Subnetwork>

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
Name Description
index int
Returns
Type Description
SubnetworkOrBuilder

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
Type Description
Warning

The warning.

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
Type Description
Warning.Builder

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
Type Description
WarningOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SubnetworksScopedList other)

public SubnetworksScopedList.Builder mergeFrom(SubnetworksScopedList other)
Parameter
Name Description
other SubnetworksScopedList
Returns
Type Description
SubnetworksScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubnetworksScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubnetworksScopedList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SubnetworksScopedList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SubnetworksScopedList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubnetworksScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubnetworksScopedList.Builder
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
Name Description
value Warning
Returns
Type Description
SubnetworksScopedList.Builder

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
Name Description
index int
Returns
Type Description
SubnetworksScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubnetworksScopedList.Builder
Overrides

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

public SubnetworksScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubnetworksScopedList.Builder
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
Name Description
index int
value Subnetwork
Returns
Type Description
SubnetworksScopedList.Builder

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
Name Description
index int
builderForValue Subnetwork.Builder
Returns
Type Description
SubnetworksScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SubnetworksScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubnetworksScopedList.Builder
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
Name Description
value Warning
Returns
Type Description
SubnetworksScopedList.Builder

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
Name Description
builderForValue Warning.Builder
Returns
Type Description
SubnetworksScopedList.Builder