Send feedback
Class CommitmentsScopedList (1.86.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class CommitmentsScopedList extends GeneratedMessageV3 implements CommitmentsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.CommitmentsScopedList
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static CommitmentsScopedList . Builder newBuilder ()
newBuilder(CommitmentsScopedList prototype)
public static CommitmentsScopedList . Builder newBuilder ( CommitmentsScopedList prototype )
public static CommitmentsScopedList parseDelimitedFrom ( InputStream input )
public static CommitmentsScopedList parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static CommitmentsScopedList parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CommitmentsScopedList parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static CommitmentsScopedList parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CommitmentsScopedList parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CommitmentsScopedList parseFrom ( CodedInputStream input )
public static CommitmentsScopedList parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CommitmentsScopedList parseFrom ( InputStream input )
public static CommitmentsScopedList parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static CommitmentsScopedList parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CommitmentsScopedList parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<CommitmentsScopedList> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getCommitments(int index)
public Commitment getCommitments ( int index )
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameter
Name
Description
index
int
getCommitmentsCount()
public int getCommitmentsCount ()
[Output Only] The 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] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
getCommitmentsOrBuilder(int index)
public CommitmentOrBuilder getCommitmentsOrBuilder ( int index )
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameter
Name
Description
index
int
getCommitmentsOrBuilderList()
public List <? extends CommitmentOrBuilder > getCommitmentsOrBuilderList ()
[Output Only] The 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 ()
getParserForType()
public Parser<CommitmentsScopedList> getParserForType ()
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;
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()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public CommitmentsScopedList . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CommitmentsScopedList . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public CommitmentsScopedList . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]