Class CommitmentsScopedList (1.28.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
TypeDescription
int

WARNING_FIELD_NUMBER

public static final int WARNING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CommitmentsScopedList getDefaultInstance()
Returns
TypeDescription
CommitmentsScopedList

getDescriptor()

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

newBuilder()

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

newBuilder(CommitmentsScopedList prototype)

public static CommitmentsScopedList.Builder newBuilder(CommitmentsScopedList prototype)
Parameter
NameDescription
prototypeCommitmentsScopedList
Returns
TypeDescription
CommitmentsScopedList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Commitment

getCommitmentsCount()

public int getCommitmentsCount()

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

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.CommitmentOrBuilder>

getDefaultInstanceForType()

public CommitmentsScopedList getDefaultInstanceForType()
Returns
TypeDescription
CommitmentsScopedList

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
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
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 CommitmentsScopedList.Builder newBuilderForType()
Returns
TypeDescription
CommitmentsScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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