Class DisksScopedList.Builder (1.18.0)

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

Protobuf type google.cloud.compute.v1.DisksScopedList

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Disk>
Returns

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
NameDescription
valueDisk
Returns

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
NameDescription
builderForValueDisk.Builder
Returns

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
NameDescription
indexint
valueDisk
Returns

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

addDisksBuilder()

public Disk.Builder addDisksBuilder()

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

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DisksScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

build()

public DisksScopedList build()
Returns
TypeDescription
DisksScopedList

buildPartial()

public DisksScopedList buildPartial()
Returns
TypeDescription
DisksScopedList

clear()

public DisksScopedList.Builder clear()
Returns 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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DisksScopedList.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public DisksScopedList getDefaultInstanceForType()
Returns
TypeDescription
DisksScopedList

getDescriptorForType()

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

public DisksScopedList.Builder mergeFrom(DisksScopedList other)
Parameter
NameDescription
otherDisksScopedList
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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
NameDescription
indexint
valueDisk
Returns

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DisksScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
builderForValueWarning.Builder
Returns