Class InstantSnapshotsScopedList (1.47.0)

public final class InstantSnapshotsScopedList extends GeneratedMessageV3 implements InstantSnapshotsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.InstantSnapshotsScopedList

Static Fields

INSTANT_SNAPSHOTS_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(InstantSnapshotsScopedList prototype)

public static InstantSnapshotsScopedList.Builder newBuilder(InstantSnapshotsScopedList prototype)
Parameter
NameDescription
prototypeInstantSnapshotsScopedList
Returns
TypeDescription
InstantSnapshotsScopedList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InstantSnapshotsScopedList getDefaultInstanceForType()
Returns
TypeDescription
InstantSnapshotsScopedList

getInstantSnapshots(int index)

public InstantSnapshot getInstantSnapshots(int index)

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

repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstantSnapshot

getInstantSnapshotsCount()

public int getInstantSnapshotsCount()

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

repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;

Returns
TypeDescription
int

getInstantSnapshotsList()

public List<InstantSnapshot> getInstantSnapshotsList()

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

repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;

Returns
TypeDescription
List<InstantSnapshot>

getInstantSnapshotsOrBuilder(int index)

public InstantSnapshotOrBuilder getInstantSnapshotsOrBuilder(int index)

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

repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstantSnapshotOrBuilder

getInstantSnapshotsOrBuilderList()

public List<? extends InstantSnapshotOrBuilder> getInstantSnapshotsOrBuilderList()

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

repeated .google.cloud.compute.v1.InstantSnapshot instant_snapshots = 329637457;

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getWarning()

public Warning getWarning()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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