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
google.cloud.compute.v1.CommitmentsScopedList
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommitmentsScopedList.Builder
addAllCommitments(Iterable<? extends Commitment> values)
[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.Builder
addCommitments(int index, Commitment value)
[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.Builder
addCommitments(int index, Commitment.Builder builderForValue)
[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.Builder
addCommitments(Commitment value)
[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.Builder
addCommitments(Commitment.Builder builderForValue)
[Output Only] A list of commitments contained in this scope.Commitment.Builder
addCommitmentsBuilder()
[Output Only] A list of commitments contained in this scope.Commitment.Builder
addCommitmentsBuilder(int index)
[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CommitmentsScopedList
build()
CommitmentsScopedList
buildPartial()
CommitmentsScopedList.Builder
clear()
CommitmentsScopedList.Builder
clearCommitments()
[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CommitmentsScopedList.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CommitmentsScopedList.Builder
clearWarning()
[Output Only] Informational warning which replaces the list of commitments when the list is empty.CommitmentsScopedList.Builder
clone()
Commitment
getCommitments(int index)
[Output Only] A list of commitments contained in this scope.Commitment.Builder
getCommitmentsBuilder(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.int
getCommitmentsCount()
[Output Only] A list of commitments contained in this scope.List<Commitment>
getCommitmentsList()
[Output Only] A list of commitments contained in this scope.CommitmentOrBuilder
getCommitmentsOrBuilder(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.CommitmentsScopedList
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Warning
getWarning()
[Output Only] Informational warning which replaces the list of commitments when the list is empty.Warning.Builder
getWarningBuilder()
[Output Only] Informational warning which replaces the list of commitments when the list is empty.WarningOrBuilder
getWarningOrBuilder()
[Output Only] Informational warning which replaces the list of commitments when the list is empty.boolean
hasWarning()
[Output Only] Informational warning which replaces the list of commitments when the list is empty.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CommitmentsScopedList.Builder
mergeFrom(CommitmentsScopedList other)
CommitmentsScopedList.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CommitmentsScopedList.Builder
mergeFrom(com.google.protobuf.Message other)
CommitmentsScopedList.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommitmentsScopedList.Builder
mergeWarning(Warning value)
[Output Only] Informational warning which replaces the list of commitments when the list is empty.CommitmentsScopedList.Builder
removeCommitments(int index)
[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.Builder
setCommitments(int index, Commitment value)
[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.Builder
setCommitments(int index, Commitment.Builder builderForValue)
[Output Only] A list of commitments contained in this scope.CommitmentsScopedList.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CommitmentsScopedList.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CommitmentsScopedList.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommitmentsScopedList.Builder
setWarning(Warning value)
[Output Only] Informational warning which replaces the list of commitments when the list is empty.CommitmentsScopedList.Builder
setWarning(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
clear
public CommitmentsScopedList.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
getDefaultInstanceForType
public CommitmentsScopedList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommitmentsScopedList build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommitmentsScopedList buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommitmentsScopedList.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
setField
public CommitmentsScopedList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
clearField
public CommitmentsScopedList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
clearOneof
public CommitmentsScopedList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
setRepeatedField
public CommitmentsScopedList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
addRepeatedField
public CommitmentsScopedList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
mergeFrom
public CommitmentsScopedList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommitmentsScopedList.Builder>
-
mergeFrom
public CommitmentsScopedList.Builder mergeFrom(CommitmentsScopedList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getCommitmentsList
in 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:
getCommitmentsCount
in 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:
getCommitments
in 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:
getCommitmentsOrBuilder
in 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:
getCommitmentsOrBuilderList
in 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:
hasWarning
in 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:
getWarning
in 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:
getWarningOrBuilder
in interfaceCommitmentsScopedListOrBuilder
-
setUnknownFields
public final CommitmentsScopedList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
mergeUnknownFields
public final CommitmentsScopedList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommitmentsScopedList.Builder>
-
-