Interface QueuedResourceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    QueuedResource, QueuedResource.Builder

    public interface QueuedResourceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Output only. Immutable. The name of the QueuedResource.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. Immutable. The name of the QueuedResource.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The bytes for name.
      • hasTpu

        boolean hasTpu()
         Defines a TPU resource.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
        Returns:
        Whether the tpu field is set.
      • getTpu

        QueuedResource.Tpu getTpu()
         Defines a TPU resource.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
        Returns:
        The tpu.
      • getTpuOrBuilder

        QueuedResource.TpuOrBuilder getTpuOrBuilder()
         Defines a TPU resource.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.Tpu tpu = 2;
      • hasBestEffort

        boolean hasBestEffort()
         The BestEffort tier.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
        Returns:
        Whether the bestEffort field is set.
      • getBestEffort

        QueuedResource.BestEffort getBestEffort()
         The BestEffort tier.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
        Returns:
        The bestEffort.
      • getBestEffortOrBuilder

        QueuedResource.BestEffortOrBuilder getBestEffortOrBuilder()
         The BestEffort tier.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.BestEffort best_effort = 3;
      • hasGuaranteed

        boolean hasGuaranteed()
         The Guaranteed tier.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
        Returns:
        Whether the guaranteed field is set.
      • getGuaranteed

        QueuedResource.Guaranteed getGuaranteed()
         The Guaranteed tier.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
        Returns:
        The guaranteed.
      • getGuaranteedOrBuilder

        QueuedResource.GuaranteedOrBuilder getGuaranteedOrBuilder()
         The Guaranteed tier.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.Guaranteed guaranteed = 4;
      • hasSpot

        boolean hasSpot()
         Optional. The Spot tier.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.Spot spot = 9 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the spot field is set.
      • getSpot

        QueuedResource.Spot getSpot()
         Optional. The Spot tier.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.Spot spot = 9 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The spot.
      • getSpotOrBuilder

        QueuedResource.SpotOrBuilder getSpotOrBuilder()
         Optional. The Spot tier.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.Spot spot = 9 [(.google.api.field_behavior) = OPTIONAL];
      • hasQueueingPolicy

        boolean hasQueueingPolicy()
         The queueing policy of the QueuedRequest.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
        Returns:
        Whether the queueingPolicy field is set.
      • getQueueingPolicy

        QueuedResource.QueueingPolicy getQueueingPolicy()
         The queueing policy of the QueuedRequest.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
        Returns:
        The queueingPolicy.
      • getQueueingPolicyOrBuilder

        QueuedResource.QueueingPolicyOrBuilder getQueueingPolicyOrBuilder()
         The queueing policy of the QueuedRequest.
         
        .google.cloud.tpu.v2alpha1.QueuedResource.QueueingPolicy queueing_policy = 5;
      • hasState

        boolean hasState()
         Output only. State of the QueuedResource request.
         
        .google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the state field is set.
      • getState

        QueuedResourceState getState()
         Output only. State of the QueuedResource request.
         
        .google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.
      • getStateOrBuilder

        QueuedResourceStateOrBuilder getStateOrBuilder()
         Output only. State of the QueuedResource request.
         
        .google.cloud.tpu.v2alpha1.QueuedResourceState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getReservationName

        String getReservationName()
         Name of the reservation in which the resource should be provisioned.
         Format: projects/{project}/locations/{zone}/reservations/{reservation}
         
        string reservation_name = 8;
        Returns:
        The reservationName.
      • getReservationNameBytes

        com.google.protobuf.ByteString getReservationNameBytes()
         Name of the reservation in which the resource should be provisioned.
         Format: projects/{project}/locations/{zone}/reservations/{reservation}
         
        string reservation_name = 8;
        Returns:
        The bytes for reservationName.