public static final class DisksScopedList.Builder extends GeneratedMessage.Builder<DisksScopedList.Builder> implements DisksScopedListOrBuilder
Protobuf type google.cloud.compute.v1.DisksScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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
|
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;
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
|
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;
addDisksBuilder()
public Disk.Builder addDisksBuilder()
[Output Only] A list of disks contained in this scope.
repeated .google.cloud.compute.v1.Disk disks = 95594102;
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
|
build()
public DisksScopedList build()
buildPartial()
public DisksScopedList buildPartial()
clear()
public DisksScopedList.Builder clear()
Overrides
clearDisks()
public DisksScopedList.Builder clearDisks()
[Output Only] A list of disks contained in this scope.
repeated .google.cloud.compute.v1.Disk disks = 95594102;
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;
getDefaultInstanceForType()
public DisksScopedList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
getDisksBuilderList()
public List<Disk.Builder> getDisksBuilderList()
[Output Only] A list of disks contained in this scope.
repeated .google.cloud.compute.v1.Disk disks = 95594102;
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;
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
|
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;
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;
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DisksScopedList other)
public DisksScopedList.Builder mergeFrom(DisksScopedList other)
public DisksScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DisksScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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
|
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
|
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;
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
|
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;