Class DisksScopedList.Builder (1.52.0)

public static final class DisksScopedList.Builder extends GeneratedMessageV3.Builder<DisksScopedList.Builder> implements DisksScopedListOrBuilder

Protobuf type google.cloud.compute.v1.DisksScopedList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDisks(Iterable<? extends Disk> values)

public DisksScopedList.Builder addAllDisks(Iterable<? extends Disk> values)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.Disk>
Returns
Type Description
DisksScopedList.Builder

addDisks(Disk value)

public DisksScopedList.Builder addDisks(Disk value)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameter
Name Description
value Disk
Returns
Type Description
DisksScopedList.Builder

addDisks(Disk.Builder builderForValue)

public DisksScopedList.Builder addDisks(Disk.Builder builderForValue)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameter
Name Description
builderForValue Disk.Builder
Returns
Type Description
DisksScopedList.Builder

addDisks(int index, Disk value)

public DisksScopedList.Builder addDisks(int index, Disk value)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameters
Name Description
index int
value Disk
Returns
Type Description
DisksScopedList.Builder

addDisks(int index, Disk.Builder builderForValue)

public DisksScopedList.Builder addDisks(int index, Disk.Builder builderForValue)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameters
Name Description
index int
builderForValue Disk.Builder
Returns
Type Description
DisksScopedList.Builder

addDisksBuilder()

public Disk.Builder addDisksBuilder()

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Returns
Type Description
Disk.Builder

addDisksBuilder(int index)

public Disk.Builder addDisksBuilder(int index)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameter
Name Description
index int
Returns
Type Description
Disk.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DisksScopedList build()
Returns
Type Description
DisksScopedList

buildPartial()

public DisksScopedList buildPartial()
Returns
Type Description
DisksScopedList

clear()

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

clearDisks()

public DisksScopedList.Builder clearDisks()

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Returns
Type Description
DisksScopedList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public DisksScopedList.Builder clearWarning()

[Output Only] Informational warning which replaces the list of disks when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
DisksScopedList.Builder

clone()

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

getDefaultInstanceForType()

public DisksScopedList getDefaultInstanceForType()
Returns
Type Description
DisksScopedList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisks(int index)

public Disk getDisks(int index)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameter
Name Description
index int
Returns
Type Description
Disk

getDisksBuilder(int index)

public Disk.Builder getDisksBuilder(int index)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameter
Name Description
index int
Returns
Type Description
Disk.Builder

getDisksBuilderList()

public List<Disk.Builder> getDisksBuilderList()

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Returns
Type Description
List<Builder>

getDisksCount()

public int getDisksCount()

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Returns
Type Description
int

getDisksList()

public List<Disk> getDisksList()

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Returns
Type Description
List<Disk>

getDisksOrBuilder(int index)

public DiskOrBuilder getDisksOrBuilder(int index)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameter
Name Description
index int
Returns
Type Description
DiskOrBuilder

getDisksOrBuilderList()

public List<? extends DiskOrBuilder> getDisksOrBuilderList()

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.DiskOrBuilder>

getWarning()

public Warning getWarning()

[Output Only] Informational warning which replaces the list of disks when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning

The warning.

getWarningBuilder()

public Warning.Builder getWarningBuilder()

[Output Only] Informational warning which replaces the list of disks when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning.Builder

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

[Output Only] Informational warning which replaces the list of disks when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[Output Only] Informational warning which replaces the list of disks 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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DisksScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DisksScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DisksScopedList.Builder
Overrides

mergeWarning(Warning value)

public DisksScopedList.Builder mergeWarning(Warning value)

[Output Only] Informational warning which replaces the list of disks when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
DisksScopedList.Builder

removeDisks(int index)

public DisksScopedList.Builder removeDisks(int index)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameter
Name Description
index int
Returns
Type Description
DisksScopedList.Builder

setDisks(int index, Disk value)

public DisksScopedList.Builder setDisks(int index, Disk value)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameters
Name Description
index int
value Disk
Returns
Type Description
DisksScopedList.Builder

setDisks(int index, Disk.Builder builderForValue)

public DisksScopedList.Builder setDisks(int index, Disk.Builder builderForValue)

[Output Only] A list of disks contained in this scope.

repeated .google.cloud.compute.v1.Disk disks = 95594102;

Parameters
Name Description
index int
builderForValue Disk.Builder
Returns
Type Description
DisksScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DisksScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DisksScopedList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DisksScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DisksScopedList.Builder
Overrides

setWarning(Warning value)

public DisksScopedList.Builder setWarning(Warning value)

[Output Only] Informational warning which replaces the list of disks when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
value Warning
Returns
Type Description
DisksScopedList.Builder

setWarning(Warning.Builder builderForValue)

public DisksScopedList.Builder setWarning(Warning.Builder builderForValue)

[Output Only] Informational warning which replaces the list of disks when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Parameter
Name Description
builderForValue Warning.Builder
Returns
Type Description
DisksScopedList.Builder