Class DiskTypesScopedList.Builder (1.52.0)

public static final class DiskTypesScopedList.Builder extends GeneratedMessageV3.Builder<DiskTypesScopedList.Builder> implements DiskTypesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.DiskTypesScopedList

Static Methods

getDescriptor()

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

Methods

addAllDiskTypes(Iterable<? extends DiskType> values)

public DiskTypesScopedList.Builder addAllDiskTypes(Iterable<? extends DiskType> values)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

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

addDiskTypes(DiskType value)

public DiskTypesScopedList.Builder addDiskTypes(DiskType value)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameter
Name Description
value DiskType
Returns
Type Description
DiskTypesScopedList.Builder

addDiskTypes(DiskType.Builder builderForValue)

public DiskTypesScopedList.Builder addDiskTypes(DiskType.Builder builderForValue)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameter
Name Description
builderForValue DiskType.Builder
Returns
Type Description
DiskTypesScopedList.Builder

addDiskTypes(int index, DiskType value)

public DiskTypesScopedList.Builder addDiskTypes(int index, DiskType value)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameters
Name Description
index int
value DiskType
Returns
Type Description
DiskTypesScopedList.Builder

addDiskTypes(int index, DiskType.Builder builderForValue)

public DiskTypesScopedList.Builder addDiskTypes(int index, DiskType.Builder builderForValue)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameters
Name Description
index int
builderForValue DiskType.Builder
Returns
Type Description
DiskTypesScopedList.Builder

addDiskTypesBuilder()

public DiskType.Builder addDiskTypesBuilder()

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Returns
Type Description
DiskType.Builder

addDiskTypesBuilder(int index)

public DiskType.Builder addDiskTypesBuilder(int index)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameter
Name Description
index int
Returns
Type Description
DiskType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiskTypesScopedList build()
Returns
Type Description
DiskTypesScopedList

buildPartial()

public DiskTypesScopedList buildPartial()
Returns
Type Description
DiskTypesScopedList

clear()

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

clearDiskTypes()

public DiskTypesScopedList.Builder clearDiskTypes()

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Returns
Type Description
DiskTypesScopedList.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarning()

public DiskTypesScopedList.Builder clearWarning()

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

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

Returns
Type Description
DiskTypesScopedList.Builder

clone()

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

getDefaultInstanceForType()

public DiskTypesScopedList getDefaultInstanceForType()
Returns
Type Description
DiskTypesScopedList

getDescriptorForType()

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

getDiskTypes(int index)

public DiskType getDiskTypes(int index)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameter
Name Description
index int
Returns
Type Description
DiskType

getDiskTypesBuilder(int index)

public DiskType.Builder getDiskTypesBuilder(int index)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameter
Name Description
index int
Returns
Type Description
DiskType.Builder

getDiskTypesBuilderList()

public List<DiskType.Builder> getDiskTypesBuilderList()

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Returns
Type Description
List<Builder>

getDiskTypesCount()

public int getDiskTypesCount()

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Returns
Type Description
int

getDiskTypesList()

public List<DiskType> getDiskTypesList()

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Returns
Type Description
List<DiskType>

getDiskTypesOrBuilder(int index)

public DiskTypeOrBuilder getDiskTypesOrBuilder(int index)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameter
Name Description
index int
Returns
Type Description
DiskTypeOrBuilder

getDiskTypesOrBuilderList()

public List<? extends DiskTypeOrBuilder> getDiskTypesOrBuilderList()

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

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

getWarning()

public Warning getWarning()

[Output Only] Informational warning which replaces the list of disk types 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 disk types 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 disk types 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 disk types 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(DiskTypesScopedList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeWarning(Warning value)

public DiskTypesScopedList.Builder mergeWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
DiskTypesScopedList.Builder

removeDiskTypes(int index)

public DiskTypesScopedList.Builder removeDiskTypes(int index)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameter
Name Description
index int
Returns
Type Description
DiskTypesScopedList.Builder

setDiskTypes(int index, DiskType value)

public DiskTypesScopedList.Builder setDiskTypes(int index, DiskType value)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameters
Name Description
index int
value DiskType
Returns
Type Description
DiskTypesScopedList.Builder

setDiskTypes(int index, DiskType.Builder builderForValue)

public DiskTypesScopedList.Builder setDiskTypes(int index, DiskType.Builder builderForValue)

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

repeated .google.cloud.compute.v1.DiskType disk_types = 198926167;

Parameters
Name Description
index int
builderForValue DiskType.Builder
Returns
Type Description
DiskTypesScopedList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarning(Warning value)

public DiskTypesScopedList.Builder setWarning(Warning value)

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

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

Parameter
Name Description
value Warning
Returns
Type Description
DiskTypesScopedList.Builder

setWarning(Warning.Builder builderForValue)

public DiskTypesScopedList.Builder setWarning(Warning.Builder builderForValue)

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

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

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