Class MachineTypesScopedList (1.15.0)

public final class MachineTypesScopedList extends GeneratedMessageV3 implements MachineTypesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.MachineTypesScopedList

Static Fields

MACHINE_TYPES_FIELD_NUMBER

public static final int MACHINE_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 MachineTypesScopedList getDefaultInstance()
Returns
TypeDescription
MachineTypesScopedList

getDescriptor()

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

newBuilder()

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

newBuilder(MachineTypesScopedList prototype)

public static MachineTypesScopedList.Builder newBuilder(MachineTypesScopedList prototype)
Parameter
NameDescription
prototypeMachineTypesScopedList
Returns
TypeDescription
MachineTypesScopedList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MachineTypesScopedList getDefaultInstanceForType()
Returns
TypeDescription
MachineTypesScopedList

getMachineTypes(int index)

public MachineType getMachineTypes(int index)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Parameter
NameDescription
indexint
Returns
TypeDescription
MachineType

getMachineTypesCount()

public int getMachineTypesCount()

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Returns
TypeDescription
int

getMachineTypesList()

public List<MachineType> getMachineTypesList()

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Returns
TypeDescription
List<MachineType>

getMachineTypesOrBuilder(int index)

public MachineTypeOrBuilder getMachineTypesOrBuilder(int index)

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Parameter
NameDescription
indexint
Returns
TypeDescription
MachineTypeOrBuilder

getMachineTypesOrBuilderList()

public List<? extends MachineTypeOrBuilder> getMachineTypesOrBuilderList()

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

repeated .google.cloud.compute.v1.MachineType machine_types = 79720065;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.MachineTypeOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWarning()

public Warning getWarning()

[Output Only] An informational warning that appears when the machine types list is empty.

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

Returns
TypeDescription
Warning

The warning.

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

[Output Only] An informational warning that appears when the machine types list is empty.

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

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public boolean hasWarning()

[Output Only] An informational warning that appears when the machine types 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 MachineTypesScopedList.Builder newBuilderForType()
Returns
TypeDescription
MachineTypesScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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