Class CommitmentsScopedList (1.58.0)

public final class CommitmentsScopedList extends GeneratedMessageV3 implements CommitmentsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.CommitmentsScopedList

Static Fields

COMMITMENTS_FIELD_NUMBER

public static final int COMMITMENTS_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 CommitmentsScopedList getDefaultInstance()
Returns
Type Description
CommitmentsScopedList

getDescriptor()

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

newBuilder()

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

newBuilder(CommitmentsScopedList prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCommitments(int index)

public Commitment getCommitments(int index)

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

repeated .google.cloud.compute.v1.Commitment commitments = 450664446;

Parameter
Name Description
index int
Returns
Type Description
Commitment

getCommitmentsCount()

public int getCommitmentsCount()

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

repeated .google.cloud.compute.v1.Commitment commitments = 450664446;

Returns
Type Description
int

getCommitmentsList()

public List<Commitment> getCommitmentsList()

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

repeated .google.cloud.compute.v1.Commitment commitments = 450664446;

Returns
Type Description
List<Commitment>

getCommitmentsOrBuilder(int index)

public CommitmentOrBuilder getCommitmentsOrBuilder(int index)

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

repeated .google.cloud.compute.v1.Commitment commitments = 450664446;

Parameter
Name Description
index int
Returns
Type Description
CommitmentOrBuilder

getCommitmentsOrBuilderList()

public List<? extends CommitmentOrBuilder> getCommitmentsOrBuilderList()

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

repeated .google.cloud.compute.v1.Commitment commitments = 450664446;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.CommitmentOrBuilder>

getDefaultInstanceForType()

public CommitmentsScopedList getDefaultInstanceForType()
Returns
Type Description
CommitmentsScopedList

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWarning()

public Warning getWarning()

[Output Only] Informational warning which replaces the list of commitments 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 commitments 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 commitments 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 CommitmentsScopedList.Builder newBuilderForType()
Returns
Type Description
CommitmentsScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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