public static final class CommitmentsScopedList.Builder extends GeneratedMessage.Builder<CommitmentsScopedList.Builder> implements CommitmentsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.CommitmentsScopedList
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllCommitments(Iterable<? extends Commitment> values)
public CommitmentsScopedList.Builder addAllCommitments(Iterable<? extends Commitment> values)
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.Commitment>
|
addCommitments(Commitment value)
public CommitmentsScopedList.Builder addCommitments(Commitment value)
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
addCommitments(Commitment.Builder builderForValue)
public CommitmentsScopedList.Builder addCommitments(Commitment.Builder builderForValue)
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
addCommitments(int index, Commitment value)
public CommitmentsScopedList.Builder addCommitments(int index, Commitment value)
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
addCommitments(int index, Commitment.Builder builderForValue)
public CommitmentsScopedList.Builder addCommitments(int index, Commitment.Builder builderForValue)
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
addCommitmentsBuilder()
public Commitment.Builder addCommitmentsBuilder()
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
addCommitmentsBuilder(int index)
public Commitment.Builder addCommitmentsBuilder(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
|
build()
public CommitmentsScopedList build()
buildPartial()
public CommitmentsScopedList buildPartial()
clear()
public CommitmentsScopedList.Builder clear()
Overrides
clearCommitments()
public CommitmentsScopedList.Builder clearCommitments()
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
clearWarning()
public CommitmentsScopedList.Builder clearWarning()
[Output Only] Informational warning which replaces the list of commitments
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
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
|
getCommitmentsBuilder(int index)
public Commitment.Builder getCommitmentsBuilder(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
|
getCommitmentsBuilderList()
public List<Commitment.Builder> getCommitmentsBuilderList()
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
getWarningBuilder()
public Warning.Builder getWarningBuilder()
[Output Only] Informational warning which replaces the list of commitments
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CommitmentsScopedList other)
public CommitmentsScopedList.Builder mergeFrom(CommitmentsScopedList other)
public CommitmentsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CommitmentsScopedList.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeWarning(Warning value)
public CommitmentsScopedList.Builder mergeWarning(Warning value)
[Output Only] Informational warning which replaces the list of commitments
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
removeCommitments(int index)
public CommitmentsScopedList.Builder removeCommitments(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
|
setCommitments(int index, Commitment value)
public CommitmentsScopedList.Builder setCommitments(int index, Commitment value)
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
setCommitments(int index, Commitment.Builder builderForValue)
public CommitmentsScopedList.Builder setCommitments(int index, Commitment.Builder builderForValue)
[Output Only] The list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
setWarning(Warning value)
public CommitmentsScopedList.Builder setWarning(Warning value)
[Output Only] Informational warning which replaces the list of commitments
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;
| Parameter |
| Name |
Description |
value |
Warning
|
setWarning(Warning.Builder builderForValue)
public CommitmentsScopedList.Builder setWarning(Warning.Builder builderForValue)
[Output Only] Informational warning which replaces the list of commitments
when the list is empty.
optional .google.cloud.compute.v1.Warning warning = 50704284;