Package com.google.cloud.compute.v1
Class FutureReservationCommitmentInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FutureReservationCommitmentInfo.Builder>
com.google.cloud.compute.v1.FutureReservationCommitmentInfo.Builder
- All Implemented Interfaces:
FutureReservationCommitmentInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FutureReservationCommitmentInfo
public static final class FutureReservationCommitmentInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FutureReservationCommitmentInfo.Builder>
implements FutureReservationCommitmentInfoOrBuilder
Protobuf type
google.cloud.compute.v1.FutureReservationCommitmentInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()name of the commitment where capacity is being delivered to.Indicates if a Commitment needs to be created as part of FR delivery.Only applicable if FR is delivering to the same reservation.name of the commitment where capacity is being delivered to.com.google.protobuf.ByteStringname of the commitment where capacity is being delivered to.Indicates if a Commitment needs to be created as part of FR delivery.com.google.protobuf.ByteStringIndicates if a Commitment needs to be created as part of FR delivery.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOnly applicable if FR is delivering to the same reservation.com.google.protobuf.ByteStringOnly applicable if FR is delivering to the same reservation.booleanname of the commitment where capacity is being delivered to.booleanIndicates if a Commitment needs to be created as part of FR delivery.booleanOnly applicable if FR is delivering to the same reservation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCommitmentName(String value) name of the commitment where capacity is being delivered to.setCommitmentNameBytes(com.google.protobuf.ByteString value) name of the commitment where capacity is being delivered to.setCommitmentPlan(String value) Indicates if a Commitment needs to be created as part of FR delivery.setCommitmentPlanBytes(com.google.protobuf.ByteString value) Indicates if a Commitment needs to be created as part of FR delivery.setPreviousCommitmentTerms(String value) Only applicable if FR is delivering to the same reservation.setPreviousCommitmentTermsBytes(com.google.protobuf.ByteString value) Only applicable if FR is delivering to the same reservation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationCommitmentInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationCommitmentInfo.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.GeneratedMessage.Builder<FutureReservationCommitmentInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FutureReservationCommitmentInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationCommitmentInfo.Builder>
-
mergeFrom
public FutureReservationCommitmentInfo.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<FutureReservationCommitmentInfo.Builder>- Throws:
IOException
-
hasCommitmentName
public boolean hasCommitmentName()name of the commitment where capacity is being delivered to.
optional string commitment_name = 164498805;- Specified by:
hasCommitmentNamein interfaceFutureReservationCommitmentInfoOrBuilder- Returns:
- Whether the commitmentName field is set.
-
getCommitmentName
name of the commitment where capacity is being delivered to.
optional string commitment_name = 164498805;- Specified by:
getCommitmentNamein interfaceFutureReservationCommitmentInfoOrBuilder- Returns:
- The commitmentName.
-
getCommitmentNameBytes
public com.google.protobuf.ByteString getCommitmentNameBytes()name of the commitment where capacity is being delivered to.
optional string commitment_name = 164498805;- Specified by:
getCommitmentNameBytesin interfaceFutureReservationCommitmentInfoOrBuilder- Returns:
- The bytes for commitmentName.
-
setCommitmentName
name of the commitment where capacity is being delivered to.
optional string commitment_name = 164498805;- Parameters:
value- The commitmentName to set.- Returns:
- This builder for chaining.
-
clearCommitmentName
name of the commitment where capacity is being delivered to.
optional string commitment_name = 164498805;- Returns:
- This builder for chaining.
-
setCommitmentNameBytes
public FutureReservationCommitmentInfo.Builder setCommitmentNameBytes(com.google.protobuf.ByteString value) name of the commitment where capacity is being delivered to.
optional string commitment_name = 164498805;- Parameters:
value- The bytes for commitmentName to set.- Returns:
- This builder for chaining.
-
hasCommitmentPlan
public boolean hasCommitmentPlan()Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created. Check the CommitmentPlan enum for the list of possible values.
optional string commitment_plan = 164568595;- Specified by:
hasCommitmentPlanin interfaceFutureReservationCommitmentInfoOrBuilder- Returns:
- Whether the commitmentPlan field is set.
-
getCommitmentPlan
Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created. Check the CommitmentPlan enum for the list of possible values.
optional string commitment_plan = 164568595;- Specified by:
getCommitmentPlanin interfaceFutureReservationCommitmentInfoOrBuilder- Returns:
- The commitmentPlan.
-
getCommitmentPlanBytes
public com.google.protobuf.ByteString getCommitmentPlanBytes()Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created. Check the CommitmentPlan enum for the list of possible values.
optional string commitment_plan = 164568595;- Specified by:
getCommitmentPlanBytesin interfaceFutureReservationCommitmentInfoOrBuilder- Returns:
- The bytes for commitmentPlan.
-
setCommitmentPlan
Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created. Check the CommitmentPlan enum for the list of possible values.
optional string commitment_plan = 164568595;- Parameters:
value- The commitmentPlan to set.- Returns:
- This builder for chaining.
-
clearCommitmentPlan
Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created. Check the CommitmentPlan enum for the list of possible values.
optional string commitment_plan = 164568595;- Returns:
- This builder for chaining.
-
setCommitmentPlanBytes
public FutureReservationCommitmentInfo.Builder setCommitmentPlanBytes(com.google.protobuf.ByteString value) Indicates if a Commitment needs to be created as part of FR delivery. If this field is not present, then no commitment needs to be created. Check the CommitmentPlan enum for the list of possible values.
optional string commitment_plan = 164568595;- Parameters:
value- The bytes for commitmentPlan to set.- Returns:
- This builder for chaining.
-
hasPreviousCommitmentTerms
public boolean hasPreviousCommitmentTerms()Only applicable if FR is delivering to the same reservation. If set, all parent commitments will be extended to match the end date of the plan for this commitment. Check the PreviousCommitmentTerms enum for the list of possible values.
optional string previous_commitment_terms = 447490085;- Specified by:
hasPreviousCommitmentTermsin interfaceFutureReservationCommitmentInfoOrBuilder- Returns:
- Whether the previousCommitmentTerms field is set.
-
getPreviousCommitmentTerms
Only applicable if FR is delivering to the same reservation. If set, all parent commitments will be extended to match the end date of the plan for this commitment. Check the PreviousCommitmentTerms enum for the list of possible values.
optional string previous_commitment_terms = 447490085;- Specified by:
getPreviousCommitmentTermsin interfaceFutureReservationCommitmentInfoOrBuilder- Returns:
- The previousCommitmentTerms.
-
getPreviousCommitmentTermsBytes
public com.google.protobuf.ByteString getPreviousCommitmentTermsBytes()Only applicable if FR is delivering to the same reservation. If set, all parent commitments will be extended to match the end date of the plan for this commitment. Check the PreviousCommitmentTerms enum for the list of possible values.
optional string previous_commitment_terms = 447490085;- Specified by:
getPreviousCommitmentTermsBytesin interfaceFutureReservationCommitmentInfoOrBuilder- Returns:
- The bytes for previousCommitmentTerms.
-
setPreviousCommitmentTerms
Only applicable if FR is delivering to the same reservation. If set, all parent commitments will be extended to match the end date of the plan for this commitment. Check the PreviousCommitmentTerms enum for the list of possible values.
optional string previous_commitment_terms = 447490085;- Parameters:
value- The previousCommitmentTerms to set.- Returns:
- This builder for chaining.
-
clearPreviousCommitmentTerms
Only applicable if FR is delivering to the same reservation. If set, all parent commitments will be extended to match the end date of the plan for this commitment. Check the PreviousCommitmentTerms enum for the list of possible values.
optional string previous_commitment_terms = 447490085;- Returns:
- This builder for chaining.
-
setPreviousCommitmentTermsBytes
public FutureReservationCommitmentInfo.Builder setPreviousCommitmentTermsBytes(com.google.protobuf.ByteString value) Only applicable if FR is delivering to the same reservation. If set, all parent commitments will be extended to match the end date of the plan for this commitment. Check the PreviousCommitmentTerms enum for the list of possible values.
optional string previous_commitment_terms = 447490085;- Parameters:
value- The bytes for previousCommitmentTerms to set.- Returns:
- This builder for chaining.
-