Class DiskTypesScopedList.Builder (1.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.DiskType>
Returns
TypeDescription
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
NameDescription
valueDiskType
Returns
TypeDescription
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
NameDescription
builderForValueDiskType.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDiskType
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDiskType.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DiskType.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DiskTypesScopedList build()
Returns
TypeDescription
DiskTypesScopedList

buildPartial()

public DiskTypesScopedList buildPartial()
Returns
TypeDescription
DiskTypesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DiskTypesScopedList getDefaultInstanceForType()
Returns
TypeDescription
DiskTypesScopedList

getDescriptorForType()

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

public DiskTypesScopedList.Builder mergeFrom(DiskTypesScopedList other)
Parameter
NameDescription
otherDiskTypesScopedList
Returns
TypeDescription
DiskTypesScopedList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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