Class ComputeConfigScalingGroup

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.compute.v1.ComputeConfigScalingGroup
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ComputeConfigScalingGroupOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:ComputeConfigScalingGroup.java.pb.meta") public final class ComputeConfigScalingGroup extends com.google.protobuf.GeneratedMessageV3 implements ComputeConfigScalingGroupOrBuilder
Protobuf type temporal.api.compute.v1.ComputeConfigScalingGroup
See Also:
  • Field Details

    • TASK_QUEUE_TYPES_FIELD_NUMBER

      public static final int TASK_QUEUE_TYPES_FIELD_NUMBER
      See Also:
    • PROVIDER_FIELD_NUMBER

      public static final int PROVIDER_FIELD_NUMBER
      See Also:
    • SCALER_FIELD_NUMBER

      public static final int SCALER_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getTaskQueueTypesList

      public List<TaskQueueType> getTaskQueueTypesList()
       Optional. The set of task queue types this scaling group serves.
       If not provided, this scaling group serves all not otherwise defined
       task types.
       
      repeated .temporal.api.enums.v1.TaskQueueType task_queue_types = 1;
      Specified by:
      getTaskQueueTypesList in interface ComputeConfigScalingGroupOrBuilder
      Returns:
      A list containing the taskQueueTypes.
    • getTaskQueueTypesCount

      public int getTaskQueueTypesCount()
       Optional. The set of task queue types this scaling group serves.
       If not provided, this scaling group serves all not otherwise defined
       task types.
       
      repeated .temporal.api.enums.v1.TaskQueueType task_queue_types = 1;
      Specified by:
      getTaskQueueTypesCount in interface ComputeConfigScalingGroupOrBuilder
      Returns:
      The count of taskQueueTypes.
    • getTaskQueueTypes

      public TaskQueueType getTaskQueueTypes(int index)
       Optional. The set of task queue types this scaling group serves.
       If not provided, this scaling group serves all not otherwise defined
       task types.
       
      repeated .temporal.api.enums.v1.TaskQueueType task_queue_types = 1;
      Specified by:
      getTaskQueueTypes in interface ComputeConfigScalingGroupOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The taskQueueTypes at the given index.
    • getTaskQueueTypesValueList

      public List<Integer> getTaskQueueTypesValueList()
       Optional. The set of task queue types this scaling group serves.
       If not provided, this scaling group serves all not otherwise defined
       task types.
       
      repeated .temporal.api.enums.v1.TaskQueueType task_queue_types = 1;
      Specified by:
      getTaskQueueTypesValueList in interface ComputeConfigScalingGroupOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for taskQueueTypes.
    • getTaskQueueTypesValue

      public int getTaskQueueTypesValue(int index)
       Optional. The set of task queue types this scaling group serves.
       If not provided, this scaling group serves all not otherwise defined
       task types.
       
      repeated .temporal.api.enums.v1.TaskQueueType task_queue_types = 1;
      Specified by:
      getTaskQueueTypesValue in interface ComputeConfigScalingGroupOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of taskQueueTypes at the given index.
    • hasProvider

      public boolean hasProvider()
       Stores instructions for a worker control plane controller how to respond
       to worker lifeycle events.
       
      .temporal.api.compute.v1.ComputeProvider provider = 3;
      Specified by:
      hasProvider in interface ComputeConfigScalingGroupOrBuilder
      Returns:
      Whether the provider field is set.
    • getProvider

      public ComputeProvider getProvider()
       Stores instructions for a worker control plane controller how to respond
       to worker lifeycle events.
       
      .temporal.api.compute.v1.ComputeProvider provider = 3;
      Specified by:
      getProvider in interface ComputeConfigScalingGroupOrBuilder
      Returns:
      The provider.
    • getProviderOrBuilder

      public ComputeProviderOrBuilder getProviderOrBuilder()
       Stores instructions for a worker control plane controller how to respond
       to worker lifeycle events.
       
      .temporal.api.compute.v1.ComputeProvider provider = 3;
      Specified by:
      getProviderOrBuilder in interface ComputeConfigScalingGroupOrBuilder
    • hasScaler

      public boolean hasScaler()
       Informs a worker lifecycle controller *when* and *how often* to perform
       certain worker lifecycle actions like starting a serverless worker.
       
      .temporal.api.compute.v1.ComputeScaler scaler = 4;
      Specified by:
      hasScaler in interface ComputeConfigScalingGroupOrBuilder
      Returns:
      Whether the scaler field is set.
    • getScaler

      public ComputeScaler getScaler()
       Informs a worker lifecycle controller *when* and *how often* to perform
       certain worker lifecycle actions like starting a serverless worker.
       
      .temporal.api.compute.v1.ComputeScaler scaler = 4;
      Specified by:
      getScaler in interface ComputeConfigScalingGroupOrBuilder
      Returns:
      The scaler.
    • getScalerOrBuilder

      public ComputeScalerOrBuilder getScalerOrBuilder()
       Informs a worker lifecycle controller *when* and *how often* to perform
       certain worker lifecycle actions like starting a serverless worker.
       
      .temporal.api.compute.v1.ComputeScaler scaler = 4;
      Specified by:
      getScalerOrBuilder in interface ComputeConfigScalingGroupOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ComputeConfigScalingGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeConfigScalingGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeConfigScalingGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeConfigScalingGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeConfigScalingGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeConfigScalingGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ComputeConfigScalingGroup parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ComputeConfigScalingGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ComputeConfigScalingGroup parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ComputeConfigScalingGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ComputeConfigScalingGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ComputeConfigScalingGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ComputeConfigScalingGroup.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ComputeConfigScalingGroup.Builder newBuilder()
    • newBuilder

      public static ComputeConfigScalingGroup.Builder newBuilder(ComputeConfigScalingGroup prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ComputeConfigScalingGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ComputeConfigScalingGroup getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ComputeConfigScalingGroup> parser()
    • getParserForType

      public com.google.protobuf.Parser<ComputeConfigScalingGroup> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ComputeConfigScalingGroup getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder