Class DiskTypesScopedList (1.19.0)

public final class DiskTypesScopedList extends GeneratedMessageV3 implements DiskTypesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.DiskTypesScopedList

Static Fields

DISK_TYPES_FIELD_NUMBER

public static final int DISK_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

WARNING_FIELD_NUMBER

public static final int WARNING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiskTypesScopedList getDefaultInstance()
Returns
TypeDescription
DiskTypesScopedList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DiskTypesScopedList.Builder newBuilder()
Returns
TypeDescription
DiskTypesScopedList.Builder

newBuilder(DiskTypesScopedList prototype)

public static DiskTypesScopedList.Builder newBuilder(DiskTypesScopedList prototype)
Parameter
NameDescription
prototypeDiskTypesScopedList
Returns
TypeDescription
DiskTypesScopedList.Builder

parseDelimitedFrom(InputStream input)

public static DiskTypesScopedList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiskTypesScopedList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DiskTypesScopedList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiskTypesScopedList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiskTypesScopedList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiskTypesScopedList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiskTypesScopedList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiskTypesScopedList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DiskTypesScopedList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiskTypesScopedList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DiskTypesScopedList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiskTypesScopedList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskTypesScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DiskTypesScopedList> parser()
Returns
TypeDescription
Parser<DiskTypesScopedList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DiskTypesScopedList getDefaultInstanceForType()
Returns
TypeDescription
DiskTypesScopedList

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

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>

getParserForType()

public Parser<DiskTypesScopedList> getParserForType()
Returns
TypeDescription
Parser<DiskTypesScopedList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DiskTypesScopedList.Builder newBuilderForType()
Returns
TypeDescription
DiskTypesScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiskTypesScopedList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DiskTypesScopedList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DiskTypesScopedList.Builder toBuilder()
Returns
TypeDescription
DiskTypesScopedList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException