Class InstancesScopedList (1.57.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
Type Description
int

WARNING_FIELD_NUMBER

public static final int WARNING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InstancesScopedList getDefaultInstance()
Returns
Type Description
InstancesScopedList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InstancesScopedList.Builder newBuilder()
Returns
Type Description
InstancesScopedList.Builder

newBuilder(InstancesScopedList prototype)

public static InstancesScopedList.Builder newBuilder(InstancesScopedList prototype)
Parameter
Name Description
prototype InstancesScopedList
Returns
Type Description
InstancesScopedList.Builder

parseDelimitedFrom(InputStream input)

public static InstancesScopedList parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstancesScopedList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InstancesScopedList parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstancesScopedList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstancesScopedList parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstancesScopedList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstancesScopedList parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstancesScopedList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InstancesScopedList parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstancesScopedList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InstancesScopedList parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstancesScopedList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InstancesScopedList> parser()
Returns
Type Description
Parser<InstancesScopedList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InstancesScopedList getDefaultInstanceForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
Instance

getInstancesCount()

public int getInstancesCount()

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

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.compute.v1.InstanceOrBuilder>

getParserForType()

public Parser<InstancesScopedList> getParserForType()
Returns
Type Description
Parser<InstancesScopedList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the warning field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InstancesScopedList.Builder newBuilderForType()
Returns
Type Description
InstancesScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstancesScopedList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InstancesScopedList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InstancesScopedList.Builder toBuilder()
Returns
Type Description
InstancesScopedList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException