Package com.google.cloud.compute.v1
Class CommitmentsScopedList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
- com.google.cloud.compute.v1.CommitmentsScopedList.Builder
-
- All Implemented Interfaces:
CommitmentsScopedListOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CommitmentsScopedList
public static final class CommitmentsScopedList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder> implements CommitmentsScopedListOrBuilder
Protobuf typegoogle.cloud.compute.v1.CommitmentsScopedList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommitmentsScopedList.BuilderaddAllCommitments(Iterable<? extends Commitment> values)[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.BuilderaddCommitments(int index, Commitment value)[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.BuilderaddCommitments(int index, Commitment.Builder builderForValue)[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.BuilderaddCommitments(Commitment value)[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.BuilderaddCommitments(Commitment.Builder builderForValue)[Output Only] A list of commitments contained in this scope.Commitment.BuilderaddCommitmentsBuilder()[Output Only] A list of commitments contained in this scope.Commitment.BuilderaddCommitmentsBuilder(int index)[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CommitmentsScopedListbuild()CommitmentsScopedListbuildPartial()CommitmentsScopedList.Builderclear()CommitmentsScopedList.BuilderclearCommitments()[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CommitmentsScopedList.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CommitmentsScopedList.BuilderclearWarning()[Output Only] Informational warning which replaces the list of commitments when the list is empty.CommitmentsScopedList.Builderclone()CommitmentgetCommitments(int index)[Output Only] A list of commitments contained in this scope.Commitment.BuildergetCommitmentsBuilder(int index)[Output Only] A list of commitments contained in this scope.List<Commitment.Builder>getCommitmentsBuilderList()[Output Only] A list of commitments contained in this scope.intgetCommitmentsCount()[Output Only] A list of commitments contained in this scope.List<Commitment>getCommitmentsList()[Output Only] A list of commitments contained in this scope.CommitmentOrBuildergetCommitmentsOrBuilder(int index)[Output Only] A list of commitments contained in this scope.List<? extends CommitmentOrBuilder>getCommitmentsOrBuilderList()[Output Only] A list of commitments contained in this scope.CommitmentsScopedListgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()WarninggetWarning()[Output Only] Informational warning which replaces the list of commitments when the list is empty.Warning.BuildergetWarningBuilder()[Output Only] Informational warning which replaces the list of commitments when the list is empty.WarningOrBuildergetWarningOrBuilder()[Output Only] Informational warning which replaces the list of commitments when the list is empty.booleanhasWarning()[Output Only] Informational warning which replaces the list of commitments when the list is empty.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CommitmentsScopedList.BuildermergeFrom(CommitmentsScopedList other)CommitmentsScopedList.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CommitmentsScopedList.BuildermergeFrom(com.google.protobuf.Message other)CommitmentsScopedList.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CommitmentsScopedList.BuildermergeWarning(Warning value)[Output Only] Informational warning which replaces the list of commitments when the list is empty.CommitmentsScopedList.BuilderremoveCommitments(int index)[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.BuildersetCommitments(int index, Commitment value)[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.BuildersetCommitments(int index, Commitment.Builder builderForValue)[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CommitmentsScopedList.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CommitmentsScopedList.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CommitmentsScopedList.BuildersetWarning(Warning value)[Output Only] Informational warning which replaces the list of commitments when the list is empty.CommitmentsScopedList.BuildersetWarning(Warning.Builder builderForValue)[Output Only] Informational warning which replaces the list of commitments when the list is empty.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
clear
public CommitmentsScopedList.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
getDefaultInstanceForType
public CommitmentsScopedList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommitmentsScopedList build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommitmentsScopedList buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommitmentsScopedList.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
setField
public CommitmentsScopedList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
clearField
public CommitmentsScopedList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
clearOneof
public CommitmentsScopedList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
setRepeatedField
public CommitmentsScopedList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
addRepeatedField
public CommitmentsScopedList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
mergeFrom
public CommitmentsScopedList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommitmentsScopedList.Builder>
-
mergeFrom
public CommitmentsScopedList.Builder mergeFrom(CommitmentsScopedList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
mergeFrom
public CommitmentsScopedList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommitmentsScopedList.Builder>- Throws:
IOException
-
getCommitmentsList
public List<Commitment> getCommitmentsList()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;- Specified by:
getCommitmentsListin interfaceCommitmentsScopedListOrBuilder
-
getCommitmentsCount
public int getCommitmentsCount()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;- Specified by:
getCommitmentsCountin interfaceCommitmentsScopedListOrBuilder
-
getCommitments
public Commitment getCommitments(int index)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;- Specified by:
getCommitmentsin interfaceCommitmentsScopedListOrBuilder
-
setCommitments
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;
-
setCommitments
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;
-
addCommitments
public CommitmentsScopedList.Builder addCommitments(Commitment value)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
-
addCommitments
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;
-
addCommitments
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;
-
addCommitments
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;
-
addAllCommitments
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;
-
clearCommitments
public CommitmentsScopedList.Builder clearCommitments()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
-
removeCommitments
public CommitmentsScopedList.Builder removeCommitments(int index)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
-
getCommitmentsBuilder
public Commitment.Builder getCommitmentsBuilder(int index)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
-
getCommitmentsOrBuilder
public CommitmentOrBuilder getCommitmentsOrBuilder(int index)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;- Specified by:
getCommitmentsOrBuilderin interfaceCommitmentsScopedListOrBuilder
-
getCommitmentsOrBuilderList
public List<? extends CommitmentOrBuilder> getCommitmentsOrBuilderList()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;- Specified by:
getCommitmentsOrBuilderListin interfaceCommitmentsScopedListOrBuilder
-
addCommitmentsBuilder
public Commitment.Builder addCommitmentsBuilder()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
-
addCommitmentsBuilder
public Commitment.Builder addCommitmentsBuilder(int index)
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
-
getCommitmentsBuilderList
public List<Commitment.Builder> getCommitmentsBuilderList()
[Output Only] A list of commitments contained in this scope.
repeated .google.cloud.compute.v1.Commitment commitments = 450664446;
-
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;- Specified by:
hasWarningin interfaceCommitmentsScopedListOrBuilder- Returns:
- Whether the warning field is set.
-
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;- Specified by:
getWarningin interfaceCommitmentsScopedListOrBuilder- Returns:
- The warning.
-
setWarning
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;
-
setWarning
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;
-
mergeWarning
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;
-
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;
-
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;- Specified by:
getWarningOrBuilderin interfaceCommitmentsScopedListOrBuilder
-
setUnknownFields
public final CommitmentsScopedList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
mergeUnknownFields
public final CommitmentsScopedList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
-