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
WARNING_FIELD_NUMBER
public static final int WARNING_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CommitmentsScopedList getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CommitmentsScopedList.Builder newBuilder()
Returns
newBuilder(CommitmentsScopedList prototype)
public static CommitmentsScopedList.Builder newBuilder(CommitmentsScopedList prototype)
Parameter
Returns
public static CommitmentsScopedList parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CommitmentsScopedList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CommitmentsScopedList parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CommitmentsScopedList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CommitmentsScopedList parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CommitmentsScopedList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CommitmentsScopedList parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CommitmentsScopedList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CommitmentsScopedList parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CommitmentsScopedList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CommitmentsScopedList parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CommitmentsScopedList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CommitmentsScopedList> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
getCommitmentsCount()
public int getCommitmentsCount()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Returns
getCommitmentsList()
public List<Commitment> getCommitmentsList()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Returns
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
Returns
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
getParserForType()
public Parser<CommitmentsScopedList> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CommitmentsScopedList.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CommitmentsScopedList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CommitmentsScopedList.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions