Class InstancesScopedList (1.34.0)

public final class InstancesScopedList extends GeneratedMessageV3 implements InstancesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.InstancesScopedList

Static Fields

INSTANCES_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(InstancesScopedList prototype)

public static InstancesScopedList.Builder newBuilder(InstancesScopedList prototype)
Parameter
NameDescription
prototypeInstancesScopedList
Returns
TypeDescription
InstancesScopedList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InstancesScopedList getDefaultInstanceForType()
Returns
TypeDescription
InstancesScopedList

getInstances(int index)

public Instance getInstances(int index)

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

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
NameDescription
indexint
Returns
TypeDescription
Instance

getInstancesCount()

public int getInstancesCount()

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

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Returns
TypeDescription
int

getInstancesList()

public List<Instance> getInstancesList()

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

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Returns
TypeDescription
List<Instance>

getInstancesOrBuilder(int index)

public InstanceOrBuilder getInstancesOrBuilder(int index)

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

repeated .google.cloud.compute.v1.Instance instances = 29097598;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends InstanceOrBuilder> getInstancesOrBuilderList()

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

repeated .google.cloud.compute.v1.Instance instances = 29097598;

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getWarning()

public Warning getWarning()

[Output Only] Informational warning which replaces the list of instances 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 instances 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 instances 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 InstancesScopedList.Builder newBuilderForType()
Returns
TypeDescription
InstancesScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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