Class DiskTypesScopedList.Builder (1.14.0)

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

Protobuf type google.cloud.compute.v1.DiskTypesScopedList

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

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

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

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

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

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

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 Overrides

build()

public DiskTypesScopedList build()
Returns
TypeDescription
DiskTypesScopedList

buildPartial()

public DiskTypesScopedList buildPartial()
Returns
TypeDescription
DiskTypesScopedList

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public DiskTypesScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

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