public static final class CommitmentsScopedList.Builder extends GeneratedMessageV3.Builder<CommitmentsScopedList.Builder> implements CommitmentsScopedListOrBuilder
Protobuf type google.cloud.compute.v1.CommitmentsScopedList
Methods
addAllCommitments(Iterable<? extends Commitment> values)
public CommitmentsScopedList.Builder addAllCommitments(Iterable<? extends Commitment> values)
[Output Only] A 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>
|
Returns
addCommitments(Commitment value)
public CommitmentsScopedList.Builder addCommitments(Commitment value)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameter
Returns
addCommitments(Commitment.Builder builderForValue)
public CommitmentsScopedList.Builder addCommitments(Commitment.Builder builderForValue)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameter
Returns
addCommitments(int index, Commitment value)
public CommitmentsScopedList.Builder addCommitments(int index, Commitment value)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameters
Returns
addCommitments(int index, Commitment.Builder builderForValue)
public CommitmentsScopedList.Builder addCommitments(int index, Commitment.Builder builderForValue)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameters
Returns
addCommitmentsBuilder()
public Commitment.Builder addCommitmentsBuilder()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Returns
addCommitmentsBuilder(int index)
public Commitment.Builder addCommitmentsBuilder(int index)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommitmentsScopedList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CommitmentsScopedList build()
Returns
buildPartial()
public CommitmentsScopedList buildPartial()
Returns
clear()
public CommitmentsScopedList.Builder clear()
Returns
Overrides
clearCommitments()
public CommitmentsScopedList.Builder clearCommitments()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Returns
clearField(Descriptors.FieldDescriptor field)
public CommitmentsScopedList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CommitmentsScopedList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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;
Returns
clone()
public CommitmentsScopedList.Builder clone()
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
getCommitmentsBuilder(int index)
public Commitment.Builder getCommitmentsBuilder(int index)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameter
Returns
getCommitmentsBuilderList()
public List<Commitment.Builder> getCommitmentsBuilderList()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CommitmentsScopedList other)
public CommitmentsScopedList.Builder mergeFrom(CommitmentsScopedList other)
Parameter
Returns
public CommitmentsScopedList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CommitmentsScopedList.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommitmentsScopedList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
removeCommitments(int index)
public CommitmentsScopedList.Builder removeCommitments(int index)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameter
Returns
setCommitments(int index, Commitment value)
public CommitmentsScopedList.Builder setCommitments(int index, Commitment value)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameters
Returns
setCommitments(int index, Commitment.Builder builderForValue)
public CommitmentsScopedList.Builder setCommitments(int index, Commitment.Builder builderForValue)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CommitmentsScopedList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommitmentsScopedList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CommitmentsScopedList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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;
Parameter
Returns