Class TargetInstancesScopedList (1.31.0)

public final class TargetInstancesScopedList extends GeneratedMessageV3 implements TargetInstancesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.TargetInstancesScopedList

Static Fields

TARGET_INSTANCES_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(TargetInstancesScopedList prototype)

public static TargetInstancesScopedList.Builder newBuilder(TargetInstancesScopedList prototype)
Parameter
NameDescription
prototypeTargetInstancesScopedList
Returns
TypeDescription
TargetInstancesScopedList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TargetInstancesScopedList getDefaultInstanceForType()
Returns
TypeDescription
TargetInstancesScopedList

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetInstances(int index)

public TargetInstance getTargetInstances(int index)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetInstance

getTargetInstancesCount()

public int getTargetInstancesCount()

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Returns
TypeDescription
int

getTargetInstancesList()

public List<TargetInstance> getTargetInstancesList()

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Returns
TypeDescription
List<TargetInstance>

getTargetInstancesOrBuilder(int index)

public TargetInstanceOrBuilder getTargetInstancesOrBuilder(int index)

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetInstanceOrBuilder

getTargetInstancesOrBuilderList()

public List<? extends TargetInstanceOrBuilder> getTargetInstancesOrBuilderList()

A list of target instances contained in this scope.

repeated .google.cloud.compute.v1.TargetInstance target_instances = 392915280;

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

getWarning()

public Warning getWarning()

Informational warning which replaces the list of addresses when the list is empty.

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

Returns
TypeDescription
Warning

The warning.

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of addresses when the list is empty.

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

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of addresses 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 TargetInstancesScopedList.Builder newBuilderForType()
Returns
TypeDescription
TargetInstancesScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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