Class NodeTypesScopedList (1.22.0)

public final class NodeTypesScopedList extends GeneratedMessageV3 implements NodeTypesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.NodeTypesScopedList

Static Fields

NODE_TYPES_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(NodeTypesScopedList prototype)

public static NodeTypesScopedList.Builder newBuilder(NodeTypesScopedList prototype)
Parameter
NameDescription
prototypeNodeTypesScopedList
Returns
TypeDescription
NodeTypesScopedList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NodeTypesScopedList getDefaultInstanceForType()
Returns
TypeDescription
NodeTypesScopedList

getNodeTypes(int index)

public NodeType getNodeTypes(int index)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeType

getNodeTypesCount()

public int getNodeTypesCount()

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Returns
TypeDescription
int

getNodeTypesList()

public List<NodeType> getNodeTypesList()

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Returns
TypeDescription
List<NodeType>

getNodeTypesOrBuilder(int index)

public NodeTypeOrBuilder getNodeTypesOrBuilder(int index)

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

Parameter
NameDescription
indexint
Returns
TypeDescription
NodeTypeOrBuilder

getNodeTypesOrBuilderList()

public List<? extends NodeTypeOrBuilder> getNodeTypesOrBuilderList()

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

repeated .google.cloud.compute.v1.NodeType node_types = 482172924;

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

getParserForType()

public Parser<NodeTypesScopedList> getParserForType()
Returns
TypeDescription
Parser<NodeTypesScopedList>
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 node 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 node 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 node 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 NodeTypesScopedList.Builder newBuilderForType()
Returns
TypeDescription
NodeTypesScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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