Class SubnetworksScopedList.Builder (1.22.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Subnetwork>
Returns
TypeDescription
SubnetworksScopedList.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubnetworksScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSubnetwork
Returns
TypeDescription
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
NameDescription
builderForValueSubnetwork.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSubnetwork
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSubnetwork.Builder
Returns
TypeDescription
SubnetworksScopedList.Builder

addSubnetworksBuilder()

public Subnetwork.Builder addSubnetworksBuilder()

A list of subnetworks contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Subnetwork.Builder

build()

public SubnetworksScopedList build()
Returns
TypeDescription
SubnetworksScopedList

buildPartial()

public SubnetworksScopedList buildPartial()
Returns
TypeDescription
SubnetworksScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SubnetworksScopedList getDefaultInstanceForType()
Returns
TypeDescription
SubnetworksScopedList

getDescriptorForType()

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

getSubnetworksCount()

public int getSubnetworksCount()

A list of subnetworks contained in this scope.

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

Returns
TypeDescription
int

getSubnetworksList()

public List<Subnetwork> getSubnetworksList()

A list of subnetworks contained in this scope.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SubnetworkOrBuilder

getSubnetworksOrBuilderList()

public List<? extends SubnetworkOrBuilder> getSubnetworksOrBuilderList()

A list of subnetworks contained in this scope.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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(SubnetworksScopedList other)

public SubnetworksScopedList.Builder mergeFrom(SubnetworksScopedList other)
Parameter
NameDescription
otherSubnetworksScopedList
Returns
TypeDescription
SubnetworksScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SubnetworksScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSubnetwork
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSubnetwork.Builder
Returns
TypeDescription
SubnetworksScopedList.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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