Package com.google.cloud.compute.v1
Class FutureReservationStatusLastKnownGoodState.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FutureReservationStatusLastKnownGoodState.Builder>
com.google.cloud.compute.v1.FutureReservationStatusLastKnownGoodState.Builder
- All Implemented Interfaces:
FutureReservationStatusLastKnownGoodStateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FutureReservationStatusLastKnownGoodState
public static final class FutureReservationStatusLastKnownGoodState.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FutureReservationStatusLastKnownGoodState.Builder>
implements FutureReservationStatusLastKnownGoodStateOrBuilder
The state that the future reservation will be reverted to should the amendment be declined.Protobuf type
google.cloud.compute.v1.FutureReservationStatusLastKnownGoodState-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanoptional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;setDescription(String value) Output only.setDescriptionBytes(com.google.protobuf.ByteString value) Output only.Output only.setExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo.Builder builderForValue) Output only.optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;setFutureReservationSpecs(FutureReservationStatusLastKnownGoodStateFutureReservationSpecs.Builder builderForValue) optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;setLockTime(String value) Output only.setLockTimeBytes(com.google.protobuf.ByteString value) Output only.setNamePrefix(String value) Output only.setNamePrefixBytes(com.google.protobuf.ByteString value) Output only.setProcurementStatus(String value) Output only.setProcurementStatusBytes(com.google.protobuf.ByteString value) Output only.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<FutureReservationStatusLastKnownGoodState.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<FutureReservationStatusLastKnownGoodState.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<FutureReservationStatusLastKnownGoodState.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
public FutureReservationStatusLastKnownGoodState.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FutureReservationStatusLastKnownGoodState.Builder>
-
mergeFrom
public FutureReservationStatusLastKnownGoodState.Builder mergeFrom(FutureReservationStatusLastKnownGoodState other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationStatusLastKnownGoodState.Builder>
-
mergeFrom
public FutureReservationStatusLastKnownGoodState.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<FutureReservationStatusLastKnownGoodState.Builder>- Throws:
IOException
-
hasDescription
public boolean hasDescription()Output only. [Output Only] The description of the FutureReservation before an amendment was requested.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
Output only. [Output Only] The description of the FutureReservation before an amendment was requested.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Output only. [Output Only] The description of the FutureReservation before an amendment was requested.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- The bytes for description.
-
setDescription
Output only. [Output Only] The description of the FutureReservation before an amendment was requested.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Output only. [Output Only] The description of the FutureReservation before an amendment was requested.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public FutureReservationStatusLastKnownGoodState.Builder setDescriptionBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The description of the FutureReservation before an amendment was requested.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasExistingMatchingUsageInfo
public boolean hasExistingMatchingUsageInfo()Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;- Specified by:
hasExistingMatchingUsageInfoin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- Whether the existingMatchingUsageInfo field is set.
-
getExistingMatchingUsageInfo
Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;- Specified by:
getExistingMatchingUsageInfoin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- The existingMatchingUsageInfo.
-
setExistingMatchingUsageInfo
public FutureReservationStatusLastKnownGoodState.Builder setExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo value) Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602; -
setExistingMatchingUsageInfo
public FutureReservationStatusLastKnownGoodState.Builder setExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo.Builder builderForValue) Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602; -
mergeExistingMatchingUsageInfo
public FutureReservationStatusLastKnownGoodState.Builder mergeExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo value) Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602; -
clearExistingMatchingUsageInfo
Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602; -
getExistingMatchingUsageInfoBuilder
public FutureReservationStatusExistingMatchingUsageInfo.Builder getExistingMatchingUsageInfoBuilder()Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602; -
getExistingMatchingUsageInfoOrBuilder
public FutureReservationStatusExistingMatchingUsageInfoOrBuilder getExistingMatchingUsageInfoOrBuilder()Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.
optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;- Specified by:
getExistingMatchingUsageInfoOrBuilderin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder
-
hasFutureReservationSpecs
public boolean hasFutureReservationSpecs()optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;- Specified by:
hasFutureReservationSpecsin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- Whether the futureReservationSpecs field is set.
-
getFutureReservationSpecs
optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;- Specified by:
getFutureReservationSpecsin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- The futureReservationSpecs.
-
setFutureReservationSpecs
public FutureReservationStatusLastKnownGoodState.Builder setFutureReservationSpecs(FutureReservationStatusLastKnownGoodStateFutureReservationSpecs value) optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873; -
setFutureReservationSpecs
public FutureReservationStatusLastKnownGoodState.Builder setFutureReservationSpecs(FutureReservationStatusLastKnownGoodStateFutureReservationSpecs.Builder builderForValue) optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873; -
mergeFutureReservationSpecs
public FutureReservationStatusLastKnownGoodState.Builder mergeFutureReservationSpecs(FutureReservationStatusLastKnownGoodStateFutureReservationSpecs value) optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873; -
clearFutureReservationSpecs
optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873; -
getFutureReservationSpecsBuilder
public FutureReservationStatusLastKnownGoodStateFutureReservationSpecs.Builder getFutureReservationSpecsBuilder()optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873; -
getFutureReservationSpecsOrBuilder
public FutureReservationStatusLastKnownGoodStateFutureReservationSpecsOrBuilder getFutureReservationSpecsOrBuilder()optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;- Specified by:
getFutureReservationSpecsOrBuilderin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder
-
hasLockTime
public boolean hasLockTime()Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.
optional string lock_time = 143772001;- Specified by:
hasLockTimein interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- Whether the lockTime field is set.
-
getLockTime
Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.
optional string lock_time = 143772001;- Specified by:
getLockTimein interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- The lockTime.
-
getLockTimeBytes
public com.google.protobuf.ByteString getLockTimeBytes()Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.
optional string lock_time = 143772001;- Specified by:
getLockTimeBytesin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- The bytes for lockTime.
-
setLockTime
Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.
optional string lock_time = 143772001;- Parameters:
value- The lockTime to set.- Returns:
- This builder for chaining.
-
clearLockTime
Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.
optional string lock_time = 143772001;- Returns:
- This builder for chaining.
-
setLockTimeBytes
public FutureReservationStatusLastKnownGoodState.Builder setLockTimeBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.
optional string lock_time = 143772001;- Parameters:
value- The bytes for lockTime to set.- Returns:
- This builder for chaining.
-
hasNamePrefix
public boolean hasNamePrefix()Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.
optional string name_prefix = 236409542;- Specified by:
hasNamePrefixin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- Whether the namePrefix field is set.
-
getNamePrefix
Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.
optional string name_prefix = 236409542;- Specified by:
getNamePrefixin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- The namePrefix.
-
getNamePrefixBytes
public com.google.protobuf.ByteString getNamePrefixBytes()Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.
optional string name_prefix = 236409542;- Specified by:
getNamePrefixBytesin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- The bytes for namePrefix.
-
setNamePrefix
Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.
optional string name_prefix = 236409542;- Parameters:
value- The namePrefix to set.- Returns:
- This builder for chaining.
-
clearNamePrefix
Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.
optional string name_prefix = 236409542;- Returns:
- This builder for chaining.
-
setNamePrefixBytes
public FutureReservationStatusLastKnownGoodState.Builder setNamePrefixBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.
optional string name_prefix = 236409542;- Parameters:
value- The bytes for namePrefix to set.- Returns:
- This builder for chaining.
-
hasProcurementStatus
public boolean hasProcurementStatus()Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.
optional string procurement_status = 224718945;- Specified by:
hasProcurementStatusin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- Whether the procurementStatus field is set.
-
getProcurementStatus
Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.
optional string procurement_status = 224718945;- Specified by:
getProcurementStatusin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- The procurementStatus.
-
getProcurementStatusBytes
public com.google.protobuf.ByteString getProcurementStatusBytes()Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.
optional string procurement_status = 224718945;- Specified by:
getProcurementStatusBytesin interfaceFutureReservationStatusLastKnownGoodStateOrBuilder- Returns:
- The bytes for procurementStatus.
-
setProcurementStatus
Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.
optional string procurement_status = 224718945;- Parameters:
value- The procurementStatus to set.- Returns:
- This builder for chaining.
-
clearProcurementStatus
Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.
optional string procurement_status = 224718945;- Returns:
- This builder for chaining.
-
setProcurementStatusBytes
public FutureReservationStatusLastKnownGoodState.Builder setProcurementStatusBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.
optional string procurement_status = 224718945;- Parameters:
value- The bytes for procurementStatus to set.- Returns:
- This builder for chaining.
-