Class TaskQueueVersionSelection

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

@Generated(value="protoc", comments="annotations:TaskQueueVersionSelection.java.pb.meta") public final class TaskQueueVersionSelection extends com.google.protobuf.GeneratedMessageV3 implements TaskQueueVersionSelectionOrBuilder
 Used for specifying versions the caller is interested in.
 
Protobuf type temporal.api.taskqueue.v1.TaskQueueVersionSelection
See Also:
  • Field Details

    • BUILD_IDS_FIELD_NUMBER

      public static final int BUILD_IDS_FIELD_NUMBER
      See Also:
    • UNVERSIONED_FIELD_NUMBER

      public static final int UNVERSIONED_FIELD_NUMBER
      See Also:
    • ALL_ACTIVE_FIELD_NUMBER

      public static final int ALL_ACTIVE_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
    • getBuildIdsList

      public com.google.protobuf.ProtocolStringList getBuildIdsList()
       Include specific Build IDs.
       
      repeated string build_ids = 1;
      Specified by:
      getBuildIdsList in interface TaskQueueVersionSelectionOrBuilder
      Returns:
      A list containing the buildIds.
    • getBuildIdsCount

      public int getBuildIdsCount()
       Include specific Build IDs.
       
      repeated string build_ids = 1;
      Specified by:
      getBuildIdsCount in interface TaskQueueVersionSelectionOrBuilder
      Returns:
      The count of buildIds.
    • getBuildIds

      public String getBuildIds(int index)
       Include specific Build IDs.
       
      repeated string build_ids = 1;
      Specified by:
      getBuildIds in interface TaskQueueVersionSelectionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The buildIds at the given index.
    • getBuildIdsBytes

      public com.google.protobuf.ByteString getBuildIdsBytes(int index)
       Include specific Build IDs.
       
      repeated string build_ids = 1;
      Specified by:
      getBuildIdsBytes in interface TaskQueueVersionSelectionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the buildIds at the given index.
    • getUnversioned

      public boolean getUnversioned()
       Include the unversioned queue.
       
      bool unversioned = 2;
      Specified by:
      getUnversioned in interface TaskQueueVersionSelectionOrBuilder
      Returns:
      The unversioned.
    • getAllActive

      public boolean getAllActive()
       Include all active versions. A version is considered active if, in the last few minutes,
       it has had new tasks or polls, or it has been the subject of certain task queue API calls.
       
      bool all_active = 3;
      Specified by:
      getAllActive in interface TaskQueueVersionSelectionOrBuilder
      Returns:
      The allActive.
    • 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 TaskQueueVersionSelection parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static TaskQueueVersionSelection.Builder newBuilder()
    • newBuilder

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

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

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

      public static TaskQueueVersionSelection getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<TaskQueueVersionSelection> 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 TaskQueueVersionSelection getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder