Class FutureReservation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
com.google.cloud.compute.v1.FutureReservation.Builder
All Implemented Interfaces:
FutureReservationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FutureReservation

public static final class FutureReservation.Builder extends com.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder> implements FutureReservationOrBuilder
 
Protobuf type google.cloud.compute.v1.FutureReservation
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
    • clear

      public FutureReservation.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
    • getDefaultInstanceForType

      public FutureReservation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FutureReservation build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FutureReservation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FutureReservation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FutureReservation.Builder>
    • mergeFrom

      public FutureReservation.Builder mergeFrom(FutureReservation other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
    • mergeFrom

      public FutureReservation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FutureReservation.Builder>
      Throws:
      IOException
    • hasAggregateReservation

      public boolean hasAggregateReservation()
       Aggregate reservation details for the future reservation.
       
      optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
      Specified by:
      hasAggregateReservation in interface FutureReservationOrBuilder
      Returns:
      Whether the aggregateReservation field is set.
    • getAggregateReservation

      public AllocationAggregateReservation getAggregateReservation()
       Aggregate reservation details for the future reservation.
       
      optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
      Specified by:
      getAggregateReservation in interface FutureReservationOrBuilder
      Returns:
      The aggregateReservation.
    • setAggregateReservation

      public FutureReservation.Builder setAggregateReservation(AllocationAggregateReservation value)
       Aggregate reservation details for the future reservation.
       
      optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
    • setAggregateReservation

      public FutureReservation.Builder setAggregateReservation(AllocationAggregateReservation.Builder builderForValue)
       Aggregate reservation details for the future reservation.
       
      optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
    • mergeAggregateReservation

      public FutureReservation.Builder mergeAggregateReservation(AllocationAggregateReservation value)
       Aggregate reservation details for the future reservation.
       
      optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
    • clearAggregateReservation

      public FutureReservation.Builder clearAggregateReservation()
       Aggregate reservation details for the future reservation.
       
      optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
    • getAggregateReservationBuilder

      public AllocationAggregateReservation.Builder getAggregateReservationBuilder()
       Aggregate reservation details for the future reservation.
       
      optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
    • getAggregateReservationOrBuilder

      public AllocationAggregateReservationOrBuilder getAggregateReservationOrBuilder()
       Aggregate reservation details for the future reservation.
       
      optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
      Specified by:
      getAggregateReservationOrBuilder in interface FutureReservationOrBuilder
    • hasAutoCreatedReservationsDeleteTime

      public boolean hasAutoCreatedReservationsDeleteTime()
       Future timestamp when the FR auto-created reservations will be deleted by
       Compute Engine. Format of this field must be a valid
       href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.
       
      optional string auto_created_reservations_delete_time = 242855120;
      Specified by:
      hasAutoCreatedReservationsDeleteTime in interface FutureReservationOrBuilder
      Returns:
      Whether the autoCreatedReservationsDeleteTime field is set.
    • getAutoCreatedReservationsDeleteTime

      public String getAutoCreatedReservationsDeleteTime()
       Future timestamp when the FR auto-created reservations will be deleted by
       Compute Engine. Format of this field must be a valid
       href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.
       
      optional string auto_created_reservations_delete_time = 242855120;
      Specified by:
      getAutoCreatedReservationsDeleteTime in interface FutureReservationOrBuilder
      Returns:
      The autoCreatedReservationsDeleteTime.
    • getAutoCreatedReservationsDeleteTimeBytes

      public com.google.protobuf.ByteString getAutoCreatedReservationsDeleteTimeBytes()
       Future timestamp when the FR auto-created reservations will be deleted by
       Compute Engine. Format of this field must be a valid
       href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.
       
      optional string auto_created_reservations_delete_time = 242855120;
      Specified by:
      getAutoCreatedReservationsDeleteTimeBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for autoCreatedReservationsDeleteTime.
    • setAutoCreatedReservationsDeleteTime

      public FutureReservation.Builder setAutoCreatedReservationsDeleteTime(String value)
       Future timestamp when the FR auto-created reservations will be deleted by
       Compute Engine. Format of this field must be a valid
       href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.
       
      optional string auto_created_reservations_delete_time = 242855120;
      Parameters:
      value - The autoCreatedReservationsDeleteTime to set.
      Returns:
      This builder for chaining.
    • clearAutoCreatedReservationsDeleteTime

      public FutureReservation.Builder clearAutoCreatedReservationsDeleteTime()
       Future timestamp when the FR auto-created reservations will be deleted by
       Compute Engine. Format of this field must be a valid
       href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.
       
      optional string auto_created_reservations_delete_time = 242855120;
      Returns:
      This builder for chaining.
    • setAutoCreatedReservationsDeleteTimeBytes

      public FutureReservation.Builder setAutoCreatedReservationsDeleteTimeBytes(com.google.protobuf.ByteString value)
       Future timestamp when the FR auto-created reservations will be deleted by
       Compute Engine. Format of this field must be a valid
       href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.
       
      optional string auto_created_reservations_delete_time = 242855120;
      Parameters:
      value - The bytes for autoCreatedReservationsDeleteTime to set.
      Returns:
      This builder for chaining.
    • hasAutoCreatedReservationsDuration

      public boolean hasAutoCreatedReservationsDuration()
       Specifies the duration of auto-created reservations.
       It represents relative time to future reservation start_time when
       auto-created reservations will be automatically deleted by Compute
       Engine. Duration time unit is represented as a count of seconds
       and fractions of seconds at nanosecond resolution.
       
      optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;
      Specified by:
      hasAutoCreatedReservationsDuration in interface FutureReservationOrBuilder
      Returns:
      Whether the autoCreatedReservationsDuration field is set.
    • getAutoCreatedReservationsDuration

      public Duration getAutoCreatedReservationsDuration()
       Specifies the duration of auto-created reservations.
       It represents relative time to future reservation start_time when
       auto-created reservations will be automatically deleted by Compute
       Engine. Duration time unit is represented as a count of seconds
       and fractions of seconds at nanosecond resolution.
       
      optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;
      Specified by:
      getAutoCreatedReservationsDuration in interface FutureReservationOrBuilder
      Returns:
      The autoCreatedReservationsDuration.
    • setAutoCreatedReservationsDuration

      public FutureReservation.Builder setAutoCreatedReservationsDuration(Duration value)
       Specifies the duration of auto-created reservations.
       It represents relative time to future reservation start_time when
       auto-created reservations will be automatically deleted by Compute
       Engine. Duration time unit is represented as a count of seconds
       and fractions of seconds at nanosecond resolution.
       
      optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;
    • setAutoCreatedReservationsDuration

      public FutureReservation.Builder setAutoCreatedReservationsDuration(Duration.Builder builderForValue)
       Specifies the duration of auto-created reservations.
       It represents relative time to future reservation start_time when
       auto-created reservations will be automatically deleted by Compute
       Engine. Duration time unit is represented as a count of seconds
       and fractions of seconds at nanosecond resolution.
       
      optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;
    • mergeAutoCreatedReservationsDuration

      public FutureReservation.Builder mergeAutoCreatedReservationsDuration(Duration value)
       Specifies the duration of auto-created reservations.
       It represents relative time to future reservation start_time when
       auto-created reservations will be automatically deleted by Compute
       Engine. Duration time unit is represented as a count of seconds
       and fractions of seconds at nanosecond resolution.
       
      optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;
    • clearAutoCreatedReservationsDuration

      public FutureReservation.Builder clearAutoCreatedReservationsDuration()
       Specifies the duration of auto-created reservations.
       It represents relative time to future reservation start_time when
       auto-created reservations will be automatically deleted by Compute
       Engine. Duration time unit is represented as a count of seconds
       and fractions of seconds at nanosecond resolution.
       
      optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;
    • getAutoCreatedReservationsDurationBuilder

      public Duration.Builder getAutoCreatedReservationsDurationBuilder()
       Specifies the duration of auto-created reservations.
       It represents relative time to future reservation start_time when
       auto-created reservations will be automatically deleted by Compute
       Engine. Duration time unit is represented as a count of seconds
       and fractions of seconds at nanosecond resolution.
       
      optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;
    • getAutoCreatedReservationsDurationOrBuilder

      public DurationOrBuilder getAutoCreatedReservationsDurationOrBuilder()
       Specifies the duration of auto-created reservations.
       It represents relative time to future reservation start_time when
       auto-created reservations will be automatically deleted by Compute
       Engine. Duration time unit is represented as a count of seconds
       and fractions of seconds at nanosecond resolution.
       
      optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;
      Specified by:
      getAutoCreatedReservationsDurationOrBuilder in interface FutureReservationOrBuilder
    • hasAutoDeleteAutoCreatedReservations

      public boolean hasAutoDeleteAutoCreatedReservations()
       Setting for enabling or disabling automatic deletion for auto-created
       reservation. If set to true, auto-created reservations will be
       deleted at Future Reservation's end time (default) or at user's defined
       timestamp if any of the
       [auto_created_reservations_delete_time, auto_created_reservations_duration]
       values is specified.
       For keeping auto-created reservation indefinitely, this value should be set
       to false.
       
      optional bool auto_delete_auto_created_reservations = 491352490;
      Specified by:
      hasAutoDeleteAutoCreatedReservations in interface FutureReservationOrBuilder
      Returns:
      Whether the autoDeleteAutoCreatedReservations field is set.
    • getAutoDeleteAutoCreatedReservations

      public boolean getAutoDeleteAutoCreatedReservations()
       Setting for enabling or disabling automatic deletion for auto-created
       reservation. If set to true, auto-created reservations will be
       deleted at Future Reservation's end time (default) or at user's defined
       timestamp if any of the
       [auto_created_reservations_delete_time, auto_created_reservations_duration]
       values is specified.
       For keeping auto-created reservation indefinitely, this value should be set
       to false.
       
      optional bool auto_delete_auto_created_reservations = 491352490;
      Specified by:
      getAutoDeleteAutoCreatedReservations in interface FutureReservationOrBuilder
      Returns:
      The autoDeleteAutoCreatedReservations.
    • setAutoDeleteAutoCreatedReservations

      public FutureReservation.Builder setAutoDeleteAutoCreatedReservations(boolean value)
       Setting for enabling or disabling automatic deletion for auto-created
       reservation. If set to true, auto-created reservations will be
       deleted at Future Reservation's end time (default) or at user's defined
       timestamp if any of the
       [auto_created_reservations_delete_time, auto_created_reservations_duration]
       values is specified.
       For keeping auto-created reservation indefinitely, this value should be set
       to false.
       
      optional bool auto_delete_auto_created_reservations = 491352490;
      Parameters:
      value - The autoDeleteAutoCreatedReservations to set.
      Returns:
      This builder for chaining.
    • clearAutoDeleteAutoCreatedReservations

      public FutureReservation.Builder clearAutoDeleteAutoCreatedReservations()
       Setting for enabling or disabling automatic deletion for auto-created
       reservation. If set to true, auto-created reservations will be
       deleted at Future Reservation's end time (default) or at user's defined
       timestamp if any of the
       [auto_created_reservations_delete_time, auto_created_reservations_duration]
       values is specified.
       For keeping auto-created reservation indefinitely, this value should be set
       to false.
       
      optional bool auto_delete_auto_created_reservations = 491352490;
      Returns:
      This builder for chaining.
    • hasCommitmentInfo

      public boolean hasCommitmentInfo()
       If not present, then FR will not deliver a new commitment or update an
       existing commitment.
       
      optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;
      Specified by:
      hasCommitmentInfo in interface FutureReservationOrBuilder
      Returns:
      Whether the commitmentInfo field is set.
    • getCommitmentInfo

      public FutureReservationCommitmentInfo getCommitmentInfo()
       If not present, then FR will not deliver a new commitment or update an
       existing commitment.
       
      optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;
      Specified by:
      getCommitmentInfo in interface FutureReservationOrBuilder
      Returns:
      The commitmentInfo.
    • setCommitmentInfo

       If not present, then FR will not deliver a new commitment or update an
       existing commitment.
       
      optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;
    • setCommitmentInfo

      public FutureReservation.Builder setCommitmentInfo(FutureReservationCommitmentInfo.Builder builderForValue)
       If not present, then FR will not deliver a new commitment or update an
       existing commitment.
       
      optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;
    • mergeCommitmentInfo

      public FutureReservation.Builder mergeCommitmentInfo(FutureReservationCommitmentInfo value)
       If not present, then FR will not deliver a new commitment or update an
       existing commitment.
       
      optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;
    • clearCommitmentInfo

      public FutureReservation.Builder clearCommitmentInfo()
       If not present, then FR will not deliver a new commitment or update an
       existing commitment.
       
      optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;
    • getCommitmentInfoBuilder

      public FutureReservationCommitmentInfo.Builder getCommitmentInfoBuilder()
       If not present, then FR will not deliver a new commitment or update an
       existing commitment.
       
      optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;
    • getCommitmentInfoOrBuilder

      public FutureReservationCommitmentInfoOrBuilder getCommitmentInfoOrBuilder()
       If not present, then FR will not deliver a new commitment or update an
       existing commitment.
       
      optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;
      Specified by:
      getCommitmentInfoOrBuilder in interface FutureReservationOrBuilder
    • hasConfidentialComputeType

      public boolean hasConfidentialComputeType()
      
       Check the ConfidentialComputeType enum for the list of possible values.
       
      optional string confidential_compute_type = 386447257;
      Specified by:
      hasConfidentialComputeType in interface FutureReservationOrBuilder
      Returns:
      Whether the confidentialComputeType field is set.
    • getConfidentialComputeType

      public String getConfidentialComputeType()
      
       Check the ConfidentialComputeType enum for the list of possible values.
       
      optional string confidential_compute_type = 386447257;
      Specified by:
      getConfidentialComputeType in interface FutureReservationOrBuilder
      Returns:
      The confidentialComputeType.
    • getConfidentialComputeTypeBytes

      public com.google.protobuf.ByteString getConfidentialComputeTypeBytes()
      
       Check the ConfidentialComputeType enum for the list of possible values.
       
      optional string confidential_compute_type = 386447257;
      Specified by:
      getConfidentialComputeTypeBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for confidentialComputeType.
    • setConfidentialComputeType

      public FutureReservation.Builder setConfidentialComputeType(String value)
      
       Check the ConfidentialComputeType enum for the list of possible values.
       
      optional string confidential_compute_type = 386447257;
      Parameters:
      value - The confidentialComputeType to set.
      Returns:
      This builder for chaining.
    • clearConfidentialComputeType

      public FutureReservation.Builder clearConfidentialComputeType()
      
       Check the ConfidentialComputeType enum for the list of possible values.
       
      optional string confidential_compute_type = 386447257;
      Returns:
      This builder for chaining.
    • setConfidentialComputeTypeBytes

      public FutureReservation.Builder setConfidentialComputeTypeBytes(com.google.protobuf.ByteString value)
      
       Check the ConfidentialComputeType enum for the list of possible values.
       
      optional string confidential_compute_type = 386447257;
      Parameters:
      value - The bytes for confidentialComputeType to set.
      Returns:
      This builder for chaining.
    • hasCreationTimestamp

      public boolean hasCreationTimestamp()
       Output only. [Output Only] The creation timestamp for this future reservation inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      hasCreationTimestamp in interface FutureReservationOrBuilder
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      public String getCreationTimestamp()
       Output only. [Output Only] The creation timestamp for this future reservation inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestamp in interface FutureReservationOrBuilder
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      public com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] The creation timestamp for this future reservation inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestampBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • setCreationTimestamp

      public FutureReservation.Builder setCreationTimestamp(String value)
       Output only. [Output Only] The creation timestamp for this future reservation inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The creationTimestamp to set.
      Returns:
      This builder for chaining.
    • clearCreationTimestamp

      public FutureReservation.Builder clearCreationTimestamp()
       Output only. [Output Only] The creation timestamp for this future reservation inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      This builder for chaining.
    • setCreationTimestampBytes

      public FutureReservation.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The creation timestamp for this future reservation inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The bytes for creationTimestamp to set.
      Returns:
      This builder for chaining.
    • hasDeploymentType

      public boolean hasDeploymentType()
       Type of the deployment requested as part of future reservation.
       Check the DeploymentType enum for the list of possible values.
       
      optional string deployment_type = 396722292;
      Specified by:
      hasDeploymentType in interface FutureReservationOrBuilder
      Returns:
      Whether the deploymentType field is set.
    • getDeploymentType

      public String getDeploymentType()
       Type of the deployment requested as part of future reservation.
       Check the DeploymentType enum for the list of possible values.
       
      optional string deployment_type = 396722292;
      Specified by:
      getDeploymentType in interface FutureReservationOrBuilder
      Returns:
      The deploymentType.
    • getDeploymentTypeBytes

      public com.google.protobuf.ByteString getDeploymentTypeBytes()
       Type of the deployment requested as part of future reservation.
       Check the DeploymentType enum for the list of possible values.
       
      optional string deployment_type = 396722292;
      Specified by:
      getDeploymentTypeBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for deploymentType.
    • setDeploymentType

      public FutureReservation.Builder setDeploymentType(String value)
       Type of the deployment requested as part of future reservation.
       Check the DeploymentType enum for the list of possible values.
       
      optional string deployment_type = 396722292;
      Parameters:
      value - The deploymentType to set.
      Returns:
      This builder for chaining.
    • clearDeploymentType

      public FutureReservation.Builder clearDeploymentType()
       Type of the deployment requested as part of future reservation.
       Check the DeploymentType enum for the list of possible values.
       
      optional string deployment_type = 396722292;
      Returns:
      This builder for chaining.
    • setDeploymentTypeBytes

      public FutureReservation.Builder setDeploymentTypeBytes(com.google.protobuf.ByteString value)
       Type of the deployment requested as part of future reservation.
       Check the DeploymentType enum for the list of possible values.
       
      optional string deployment_type = 396722292;
      Parameters:
      value - The bytes for deploymentType to set.
      Returns:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
       An optional description of this resource. Provide this property when you
       create the future reservation.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface FutureReservationOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       An optional description of this resource. Provide this property when you
       create the future reservation.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface FutureReservationOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource. Provide this property when you
       create the future reservation.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public FutureReservation.Builder setDescription(String value)
       An optional description of this resource. Provide this property when you
       create the future reservation.
       
      optional string description = 422937596;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public FutureReservation.Builder clearDescription()
       An optional description of this resource. Provide this property when you
       create the future reservation.
       
      optional string description = 422937596;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public FutureReservation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       An optional description of this resource. Provide this property when you
       create the future reservation.
       
      optional string description = 422937596;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasEnableEmergentMaintenance

      public boolean hasEnableEmergentMaintenance()
       Indicates if this group of VMs have emergent maintenance enabled.
       
      optional bool enable_emergent_maintenance = 353759497;
      Specified by:
      hasEnableEmergentMaintenance in interface FutureReservationOrBuilder
      Returns:
      Whether the enableEmergentMaintenance field is set.
    • getEnableEmergentMaintenance

      public boolean getEnableEmergentMaintenance()
       Indicates if this group of VMs have emergent maintenance enabled.
       
      optional bool enable_emergent_maintenance = 353759497;
      Specified by:
      getEnableEmergentMaintenance in interface FutureReservationOrBuilder
      Returns:
      The enableEmergentMaintenance.
    • setEnableEmergentMaintenance

      public FutureReservation.Builder setEnableEmergentMaintenance(boolean value)
       Indicates if this group of VMs have emergent maintenance enabled.
       
      optional bool enable_emergent_maintenance = 353759497;
      Parameters:
      value - The enableEmergentMaintenance to set.
      Returns:
      This builder for chaining.
    • clearEnableEmergentMaintenance

      public FutureReservation.Builder clearEnableEmergentMaintenance()
       Indicates if this group of VMs have emergent maintenance enabled.
       
      optional bool enable_emergent_maintenance = 353759497;
      Returns:
      This builder for chaining.
    • hasId

      public boolean hasId()
       Output only. [Output Only] A unique identifier for this future reservation. The server
       defines this identifier.
       
      optional uint64 id = 3355;
      Specified by:
      hasId in interface FutureReservationOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       Output only. [Output Only] A unique identifier for this future reservation. The server
       defines this identifier.
       
      optional uint64 id = 3355;
      Specified by:
      getId in interface FutureReservationOrBuilder
      Returns:
      The id.
    • setId

      public FutureReservation.Builder setId(long value)
       Output only. [Output Only] A unique identifier for this future reservation. The server
       defines this identifier.
       
      optional uint64 id = 3355;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public FutureReservation.Builder clearId()
       Output only. [Output Only] A unique identifier for this future reservation. The server
       defines this identifier.
       
      optional uint64 id = 3355;
      Returns:
      This builder for chaining.
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface FutureReservationOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface FutureReservationOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public FutureReservation.Builder setKind(String value)
       Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public FutureReservation.Builder clearKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public FutureReservation.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
       
      optional string kind = 3292052;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
       The name of the resource, provided by the client when initially creating
       the resource. The resource name must be 1-63 characters long, and comply
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface FutureReservationOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       The name of the resource, provided by the client when initially creating
       the resource. The resource name must be 1-63 characters long, and comply
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Specified by:
      getName in interface FutureReservationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the resource, provided by the client when initially creating
       the resource. The resource name must be 1-63 characters long, and comply
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for name.
    • setName

      public FutureReservation.Builder setName(String value)
       The name of the resource, provided by the client when initially creating
       the resource. The resource name must be 1-63 characters long, and comply
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public FutureReservation.Builder clearName()
       The name of the resource, provided by the client when initially creating
       the resource. The resource name must be 1-63 characters long, and comply
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Returns:
      This builder for chaining.
    • setNameBytes

      public FutureReservation.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the resource, provided by the client when initially creating
       the resource. The resource name must be 1-63 characters long, and comply
       withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must be
       a dash, lowercase letter, or digit, except the last character, which cannot
       be a dash.
       
      optional string name = 3373707;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasNamePrefix

      public boolean hasNamePrefix()
       Name prefix for the reservations to be created at the time of
       delivery. The name prefix must comply with RFC1035.
       Maximum allowed length for name prefix is 20. Automatically created
       reservations name format will be -date-####.
       
      optional string name_prefix = 236409542;
      Specified by:
      hasNamePrefix in interface FutureReservationOrBuilder
      Returns:
      Whether the namePrefix field is set.
    • getNamePrefix

      public String getNamePrefix()
       Name prefix for the reservations to be created at the time of
       delivery. The name prefix must comply with RFC1035.
       Maximum allowed length for name prefix is 20. Automatically created
       reservations name format will be -date-####.
       
      optional string name_prefix = 236409542;
      Specified by:
      getNamePrefix in interface FutureReservationOrBuilder
      Returns:
      The namePrefix.
    • getNamePrefixBytes

      public com.google.protobuf.ByteString getNamePrefixBytes()
       Name prefix for the reservations to be created at the time of
       delivery. The name prefix must comply with RFC1035.
       Maximum allowed length for name prefix is 20. Automatically created
       reservations name format will be -date-####.
       
      optional string name_prefix = 236409542;
      Specified by:
      getNamePrefixBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for namePrefix.
    • setNamePrefix

      public FutureReservation.Builder setNamePrefix(String value)
       Name prefix for the reservations to be created at the time of
       delivery. The name prefix must comply with RFC1035.
       Maximum allowed length for name prefix is 20. Automatically created
       reservations name format will be -date-####.
       
      optional string name_prefix = 236409542;
      Parameters:
      value - The namePrefix to set.
      Returns:
      This builder for chaining.
    • clearNamePrefix

      public FutureReservation.Builder clearNamePrefix()
       Name prefix for the reservations to be created at the time of
       delivery. The name prefix must comply with RFC1035.
       Maximum allowed length for name prefix is 20. Automatically created
       reservations name format will be -date-####.
       
      optional string name_prefix = 236409542;
      Returns:
      This builder for chaining.
    • setNamePrefixBytes

      public FutureReservation.Builder setNamePrefixBytes(com.google.protobuf.ByteString value)
       Name prefix for the reservations to be created at the time of
       delivery. The name prefix must comply with RFC1035.
       Maximum allowed length for name prefix is 20. Automatically created
       reservations name format will be -date-####.
       
      optional string name_prefix = 236409542;
      Parameters:
      value - The bytes for namePrefix to set.
      Returns:
      This builder for chaining.
    • hasParams

      public boolean hasParams()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;
      Specified by:
      hasParams in interface FutureReservationOrBuilder
      Returns:
      Whether the params field is set.
    • getParams

      public FutureReservationParams getParams()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;
      Specified by:
      getParams in interface FutureReservationOrBuilder
      Returns:
      The params.
    • setParams

       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;
    • setParams

      public FutureReservation.Builder setParams(FutureReservationParams.Builder builderForValue)
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;
    • mergeParams

       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;
    • clearParams

      public FutureReservation.Builder clearParams()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;
    • getParamsBuilder

      public FutureReservationParams.Builder getParamsBuilder()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;
    • getParamsOrBuilder

      public FutureReservationParamsOrBuilder getParamsOrBuilder()
       Input only. Additional params passed with the request, but not persisted
       as part of resource payload.
       
      optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;
      Specified by:
      getParamsOrBuilder in interface FutureReservationOrBuilder
    • hasPlanningStatus

      public boolean hasPlanningStatus()
       Planning state before being submitted for evaluation
       Check the PlanningStatus enum for the list of possible values.
       
      optional string planning_status = 19714836;
      Specified by:
      hasPlanningStatus in interface FutureReservationOrBuilder
      Returns:
      Whether the planningStatus field is set.
    • getPlanningStatus

      public String getPlanningStatus()
       Planning state before being submitted for evaluation
       Check the PlanningStatus enum for the list of possible values.
       
      optional string planning_status = 19714836;
      Specified by:
      getPlanningStatus in interface FutureReservationOrBuilder
      Returns:
      The planningStatus.
    • getPlanningStatusBytes

      public com.google.protobuf.ByteString getPlanningStatusBytes()
       Planning state before being submitted for evaluation
       Check the PlanningStatus enum for the list of possible values.
       
      optional string planning_status = 19714836;
      Specified by:
      getPlanningStatusBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for planningStatus.
    • setPlanningStatus

      public FutureReservation.Builder setPlanningStatus(String value)
       Planning state before being submitted for evaluation
       Check the PlanningStatus enum for the list of possible values.
       
      optional string planning_status = 19714836;
      Parameters:
      value - The planningStatus to set.
      Returns:
      This builder for chaining.
    • clearPlanningStatus

      public FutureReservation.Builder clearPlanningStatus()
       Planning state before being submitted for evaluation
       Check the PlanningStatus enum for the list of possible values.
       
      optional string planning_status = 19714836;
      Returns:
      This builder for chaining.
    • setPlanningStatusBytes

      public FutureReservation.Builder setPlanningStatusBytes(com.google.protobuf.ByteString value)
       Planning state before being submitted for evaluation
       Check the PlanningStatus enum for the list of possible values.
       
      optional string planning_status = 19714836;
      Parameters:
      value - The bytes for planningStatus to set.
      Returns:
      This builder for chaining.
    • hasReservationMode

      public boolean hasReservationMode()
       The reservation mode which determines reservation-termination behavior and
       expected pricing.
       Check the ReservationMode enum for the list of possible values.
       
      optional string reservation_mode = 277294646;
      Specified by:
      hasReservationMode in interface FutureReservationOrBuilder
      Returns:
      Whether the reservationMode field is set.
    • getReservationMode

      public String getReservationMode()
       The reservation mode which determines reservation-termination behavior and
       expected pricing.
       Check the ReservationMode enum for the list of possible values.
       
      optional string reservation_mode = 277294646;
      Specified by:
      getReservationMode in interface FutureReservationOrBuilder
      Returns:
      The reservationMode.
    • getReservationModeBytes

      public com.google.protobuf.ByteString getReservationModeBytes()
       The reservation mode which determines reservation-termination behavior and
       expected pricing.
       Check the ReservationMode enum for the list of possible values.
       
      optional string reservation_mode = 277294646;
      Specified by:
      getReservationModeBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for reservationMode.
    • setReservationMode

      public FutureReservation.Builder setReservationMode(String value)
       The reservation mode which determines reservation-termination behavior and
       expected pricing.
       Check the ReservationMode enum for the list of possible values.
       
      optional string reservation_mode = 277294646;
      Parameters:
      value - The reservationMode to set.
      Returns:
      This builder for chaining.
    • clearReservationMode

      public FutureReservation.Builder clearReservationMode()
       The reservation mode which determines reservation-termination behavior and
       expected pricing.
       Check the ReservationMode enum for the list of possible values.
       
      optional string reservation_mode = 277294646;
      Returns:
      This builder for chaining.
    • setReservationModeBytes

      public FutureReservation.Builder setReservationModeBytes(com.google.protobuf.ByteString value)
       The reservation mode which determines reservation-termination behavior and
       expected pricing.
       Check the ReservationMode enum for the list of possible values.
       
      optional string reservation_mode = 277294646;
      Parameters:
      value - The bytes for reservationMode to set.
      Returns:
      This builder for chaining.
    • hasReservationName

      public boolean hasReservationName()
       Name of reservations where the capacity is provisioned at the time of
       delivery of  future reservations. If the reservation with the given name
       does not exist already, it is created automatically at the time of Approval
       with INACTIVE state till specified start-time. Either provide the
       reservation_name or a name_prefix.
       
      optional string reservation_name = 277311262;
      Specified by:
      hasReservationName in interface FutureReservationOrBuilder
      Returns:
      Whether the reservationName field is set.
    • getReservationName

      public String getReservationName()
       Name of reservations where the capacity is provisioned at the time of
       delivery of  future reservations. If the reservation with the given name
       does not exist already, it is created automatically at the time of Approval
       with INACTIVE state till specified start-time. Either provide the
       reservation_name or a name_prefix.
       
      optional string reservation_name = 277311262;
      Specified by:
      getReservationName in interface FutureReservationOrBuilder
      Returns:
      The reservationName.
    • getReservationNameBytes

      public com.google.protobuf.ByteString getReservationNameBytes()
       Name of reservations where the capacity is provisioned at the time of
       delivery of  future reservations. If the reservation with the given name
       does not exist already, it is created automatically at the time of Approval
       with INACTIVE state till specified start-time. Either provide the
       reservation_name or a name_prefix.
       
      optional string reservation_name = 277311262;
      Specified by:
      getReservationNameBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for reservationName.
    • setReservationName

      public FutureReservation.Builder setReservationName(String value)
       Name of reservations where the capacity is provisioned at the time of
       delivery of  future reservations. If the reservation with the given name
       does not exist already, it is created automatically at the time of Approval
       with INACTIVE state till specified start-time. Either provide the
       reservation_name or a name_prefix.
       
      optional string reservation_name = 277311262;
      Parameters:
      value - The reservationName to set.
      Returns:
      This builder for chaining.
    • clearReservationName

      public FutureReservation.Builder clearReservationName()
       Name of reservations where the capacity is provisioned at the time of
       delivery of  future reservations. If the reservation with the given name
       does not exist already, it is created automatically at the time of Approval
       with INACTIVE state till specified start-time. Either provide the
       reservation_name or a name_prefix.
       
      optional string reservation_name = 277311262;
      Returns:
      This builder for chaining.
    • setReservationNameBytes

      public FutureReservation.Builder setReservationNameBytes(com.google.protobuf.ByteString value)
       Name of reservations where the capacity is provisioned at the time of
       delivery of  future reservations. If the reservation with the given name
       does not exist already, it is created automatically at the time of Approval
       with INACTIVE state till specified start-time. Either provide the
       reservation_name or a name_prefix.
       
      optional string reservation_name = 277311262;
      Parameters:
      value - The bytes for reservationName to set.
      Returns:
      This builder for chaining.
    • hasSchedulingType

      public boolean hasSchedulingType()
       Maintenance information for this reservation
       Check the SchedulingType enum for the list of possible values.
       
      optional string scheduling_type = 199835397;
      Specified by:
      hasSchedulingType in interface FutureReservationOrBuilder
      Returns:
      Whether the schedulingType field is set.
    • getSchedulingType

      public String getSchedulingType()
       Maintenance information for this reservation
       Check the SchedulingType enum for the list of possible values.
       
      optional string scheduling_type = 199835397;
      Specified by:
      getSchedulingType in interface FutureReservationOrBuilder
      Returns:
      The schedulingType.
    • getSchedulingTypeBytes

      public com.google.protobuf.ByteString getSchedulingTypeBytes()
       Maintenance information for this reservation
       Check the SchedulingType enum for the list of possible values.
       
      optional string scheduling_type = 199835397;
      Specified by:
      getSchedulingTypeBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for schedulingType.
    • setSchedulingType

      public FutureReservation.Builder setSchedulingType(String value)
       Maintenance information for this reservation
       Check the SchedulingType enum for the list of possible values.
       
      optional string scheduling_type = 199835397;
      Parameters:
      value - The schedulingType to set.
      Returns:
      This builder for chaining.
    • clearSchedulingType

      public FutureReservation.Builder clearSchedulingType()
       Maintenance information for this reservation
       Check the SchedulingType enum for the list of possible values.
       
      optional string scheduling_type = 199835397;
      Returns:
      This builder for chaining.
    • setSchedulingTypeBytes

      public FutureReservation.Builder setSchedulingTypeBytes(com.google.protobuf.ByteString value)
       Maintenance information for this reservation
       Check the SchedulingType enum for the list of possible values.
       
      optional string scheduling_type = 199835397;
      Parameters:
      value - The bytes for schedulingType to set.
      Returns:
      This builder for chaining.
    • hasSelfLink

      public boolean hasSelfLink()
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface FutureReservationOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface FutureReservationOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public FutureReservation.Builder setSelfLink(String value)
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The selfLink to set.
      Returns:
      This builder for chaining.
    • clearSelfLink

      public FutureReservation.Builder clearSelfLink()
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Returns:
      This builder for chaining.
    • setSelfLinkBytes

      public FutureReservation.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Server-defined fully-qualified URL for this resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The bytes for selfLink to set.
      Returns:
      This builder for chaining.
    • hasSelfLinkWithId

      public boolean hasSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      hasSelfLinkWithId in interface FutureReservationOrBuilder
      Returns:
      Whether the selfLinkWithId field is set.
    • getSelfLinkWithId

      public String getSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      getSelfLinkWithId in interface FutureReservationOrBuilder
      Returns:
      The selfLinkWithId.
    • getSelfLinkWithIdBytes

      public com.google.protobuf.ByteString getSelfLinkWithIdBytes()
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Specified by:
      getSelfLinkWithIdBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for selfLinkWithId.
    • setSelfLinkWithId

      public FutureReservation.Builder setSelfLinkWithId(String value)
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Parameters:
      value - The selfLinkWithId to set.
      Returns:
      This builder for chaining.
    • clearSelfLinkWithId

      public FutureReservation.Builder clearSelfLinkWithId()
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Returns:
      This builder for chaining.
    • setSelfLinkWithIdBytes

      public FutureReservation.Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Server-defined URL for this resource with the resource id.
       
      optional string self_link_with_id = 44520962;
      Parameters:
      value - The bytes for selfLinkWithId to set.
      Returns:
      This builder for chaining.
    • hasShareSettings

      public boolean hasShareSettings()
       List of Projects/Folders to share with.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
      Specified by:
      hasShareSettings in interface FutureReservationOrBuilder
      Returns:
      Whether the shareSettings field is set.
    • getShareSettings

      public ShareSettings getShareSettings()
       List of Projects/Folders to share with.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
      Specified by:
      getShareSettings in interface FutureReservationOrBuilder
      Returns:
      The shareSettings.
    • setShareSettings

      public FutureReservation.Builder setShareSettings(ShareSettings value)
       List of Projects/Folders to share with.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
    • setShareSettings

      public FutureReservation.Builder setShareSettings(ShareSettings.Builder builderForValue)
       List of Projects/Folders to share with.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
    • mergeShareSettings

      public FutureReservation.Builder mergeShareSettings(ShareSettings value)
       List of Projects/Folders to share with.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
    • clearShareSettings

      public FutureReservation.Builder clearShareSettings()
       List of Projects/Folders to share with.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
    • getShareSettingsBuilder

      public ShareSettings.Builder getShareSettingsBuilder()
       List of Projects/Folders to share with.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
    • getShareSettingsOrBuilder

      public ShareSettingsOrBuilder getShareSettingsOrBuilder()
       List of Projects/Folders to share with.
       
      optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
      Specified by:
      getShareSettingsOrBuilder in interface FutureReservationOrBuilder
    • hasSpecificReservationRequired

      public boolean hasSpecificReservationRequired()
       Indicates whether the auto-created reservation can be consumed by VMs with
       affinity for "any" reservation. If the field is set, then only VMs that
       target the reservation by name can consume from the delivered reservation.
       
      optional bool specific_reservation_required = 226550687;
      Specified by:
      hasSpecificReservationRequired in interface FutureReservationOrBuilder
      Returns:
      Whether the specificReservationRequired field is set.
    • getSpecificReservationRequired

      public boolean getSpecificReservationRequired()
       Indicates whether the auto-created reservation can be consumed by VMs with
       affinity for "any" reservation. If the field is set, then only VMs that
       target the reservation by name can consume from the delivered reservation.
       
      optional bool specific_reservation_required = 226550687;
      Specified by:
      getSpecificReservationRequired in interface FutureReservationOrBuilder
      Returns:
      The specificReservationRequired.
    • setSpecificReservationRequired

      public FutureReservation.Builder setSpecificReservationRequired(boolean value)
       Indicates whether the auto-created reservation can be consumed by VMs with
       affinity for "any" reservation. If the field is set, then only VMs that
       target the reservation by name can consume from the delivered reservation.
       
      optional bool specific_reservation_required = 226550687;
      Parameters:
      value - The specificReservationRequired to set.
      Returns:
      This builder for chaining.
    • clearSpecificReservationRequired

      public FutureReservation.Builder clearSpecificReservationRequired()
       Indicates whether the auto-created reservation can be consumed by VMs with
       affinity for "any" reservation. If the field is set, then only VMs that
       target the reservation by name can consume from the delivered reservation.
       
      optional bool specific_reservation_required = 226550687;
      Returns:
      This builder for chaining.
    • hasSpecificSkuProperties

      public boolean hasSpecificSkuProperties()
       Future Reservation configuration to indicate instance properties and
       total count.
       
      optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
      Specified by:
      hasSpecificSkuProperties in interface FutureReservationOrBuilder
      Returns:
      Whether the specificSkuProperties field is set.
    • getSpecificSkuProperties

      public FutureReservationSpecificSKUProperties getSpecificSkuProperties()
       Future Reservation configuration to indicate instance properties and
       total count.
       
      optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
      Specified by:
      getSpecificSkuProperties in interface FutureReservationOrBuilder
      Returns:
      The specificSkuProperties.
    • setSpecificSkuProperties

      public FutureReservation.Builder setSpecificSkuProperties(FutureReservationSpecificSKUProperties value)
       Future Reservation configuration to indicate instance properties and
       total count.
       
      optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
    • setSpecificSkuProperties

      public FutureReservation.Builder setSpecificSkuProperties(FutureReservationSpecificSKUProperties.Builder builderForValue)
       Future Reservation configuration to indicate instance properties and
       total count.
       
      optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
    • mergeSpecificSkuProperties

      public FutureReservation.Builder mergeSpecificSkuProperties(FutureReservationSpecificSKUProperties value)
       Future Reservation configuration to indicate instance properties and
       total count.
       
      optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
    • clearSpecificSkuProperties

      public FutureReservation.Builder clearSpecificSkuProperties()
       Future Reservation configuration to indicate instance properties and
       total count.
       
      optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
    • getSpecificSkuPropertiesBuilder

      public FutureReservationSpecificSKUProperties.Builder getSpecificSkuPropertiesBuilder()
       Future Reservation configuration to indicate instance properties and
       total count.
       
      optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
    • getSpecificSkuPropertiesOrBuilder

      public FutureReservationSpecificSKUPropertiesOrBuilder getSpecificSkuPropertiesOrBuilder()
       Future Reservation configuration to indicate instance properties and
       total count.
       
      optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
      Specified by:
      getSpecificSkuPropertiesOrBuilder in interface FutureReservationOrBuilder
    • hasStatus

      public boolean hasStatus()
       Output only. [Output only] Status of the Future Reservation
       
      optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
      Specified by:
      hasStatus in interface FutureReservationOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public FutureReservationStatus getStatus()
       Output only. [Output only] Status of the Future Reservation
       
      optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
      Specified by:
      getStatus in interface FutureReservationOrBuilder
      Returns:
      The status.
    • setStatus

       Output only. [Output only] Status of the Future Reservation
       
      optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
    • setStatus

      public FutureReservation.Builder setStatus(FutureReservationStatus.Builder builderForValue)
       Output only. [Output only] Status of the Future Reservation
       
      optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
    • mergeStatus

       Output only. [Output only] Status of the Future Reservation
       
      optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
    • clearStatus

      public FutureReservation.Builder clearStatus()
       Output only. [Output only] Status of the Future Reservation
       
      optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
    • getStatusBuilder

      public FutureReservationStatus.Builder getStatusBuilder()
       Output only. [Output only] Status of the Future Reservation
       
      optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
    • getStatusOrBuilder

      public FutureReservationStatusOrBuilder getStatusOrBuilder()
       Output only. [Output only] Status of the Future Reservation
       
      optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
      Specified by:
      getStatusOrBuilder in interface FutureReservationOrBuilder
    • hasTimeWindow

      public boolean hasTimeWindow()
       Time window for this Future Reservation.
       
      optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
      Specified by:
      hasTimeWindow in interface FutureReservationOrBuilder
      Returns:
      Whether the timeWindow field is set.
    • getTimeWindow

      public FutureReservationTimeWindow getTimeWindow()
       Time window for this Future Reservation.
       
      optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
      Specified by:
      getTimeWindow in interface FutureReservationOrBuilder
      Returns:
      The timeWindow.
    • setTimeWindow

       Time window for this Future Reservation.
       
      optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
    • setTimeWindow

      public FutureReservation.Builder setTimeWindow(FutureReservationTimeWindow.Builder builderForValue)
       Time window for this Future Reservation.
       
      optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
    • mergeTimeWindow

       Time window for this Future Reservation.
       
      optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
    • clearTimeWindow

      public FutureReservation.Builder clearTimeWindow()
       Time window for this Future Reservation.
       
      optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
    • getTimeWindowBuilder

      public FutureReservationTimeWindow.Builder getTimeWindowBuilder()
       Time window for this Future Reservation.
       
      optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
    • getTimeWindowOrBuilder

      public FutureReservationTimeWindowOrBuilder getTimeWindowOrBuilder()
       Time window for this Future Reservation.
       
      optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
      Specified by:
      getTimeWindowOrBuilder in interface FutureReservationOrBuilder
    • hasZone

      public boolean hasZone()
       Output only. [Output Only] URL of the Zone where this future reservation resides.
       
      optional string zone = 3744684;
      Specified by:
      hasZone in interface FutureReservationOrBuilder
      Returns:
      Whether the zone field is set.
    • getZone

      public String getZone()
       Output only. [Output Only] URL of the Zone where this future reservation resides.
       
      optional string zone = 3744684;
      Specified by:
      getZone in interface FutureReservationOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       Output only. [Output Only] URL of the Zone where this future reservation resides.
       
      optional string zone = 3744684;
      Specified by:
      getZoneBytes in interface FutureReservationOrBuilder
      Returns:
      The bytes for zone.
    • setZone

      public FutureReservation.Builder setZone(String value)
       Output only. [Output Only] URL of the Zone where this future reservation resides.
       
      optional string zone = 3744684;
      Parameters:
      value - The zone to set.
      Returns:
      This builder for chaining.
    • clearZone

      public FutureReservation.Builder clearZone()
       Output only. [Output Only] URL of the Zone where this future reservation resides.
       
      optional string zone = 3744684;
      Returns:
      This builder for chaining.
    • setZoneBytes

      public FutureReservation.Builder setZoneBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] URL of the Zone where this future reservation resides.
       
      optional string zone = 3744684;
      Parameters:
      value - The bytes for zone to set.
      Returns:
      This builder for chaining.