Class DeploymentInfo

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

@Generated(value="protoc", comments="annotations:DeploymentInfo.java.pb.meta") public final class DeploymentInfo extends com.google.protobuf.GeneratedMessageV3 implements DeploymentInfoOrBuilder
 `DeploymentInfo` holds information about a deployment. Deployment information is tracked
 automatically by server as soon as the first poll from that deployment reaches the server. There
 can be multiple task queue workers in a single deployment which are listed in this message.
 Deprecated.
 
Protobuf type temporal.api.deployment.v1.DeploymentInfo
See Also:
  • Field Details

    • DEPLOYMENT_FIELD_NUMBER

      public static final int DEPLOYMENT_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • TASK_QUEUE_INFOS_FIELD_NUMBER

      public static final int TASK_QUEUE_INFOS_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • IS_CURRENT_FIELD_NUMBER

      public static final int IS_CURRENT_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()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

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

      public boolean hasDeployment()
      .temporal.api.deployment.v1.Deployment deployment = 1;
      Specified by:
      hasDeployment in interface DeploymentInfoOrBuilder
      Returns:
      Whether the deployment field is set.
    • getDeployment

      public Deployment getDeployment()
      .temporal.api.deployment.v1.Deployment deployment = 1;
      Specified by:
      getDeployment in interface DeploymentInfoOrBuilder
      Returns:
      The deployment.
    • getDeploymentOrBuilder

      public DeploymentOrBuilder getDeploymentOrBuilder()
      .temporal.api.deployment.v1.Deployment deployment = 1;
      Specified by:
      getDeploymentOrBuilder in interface DeploymentInfoOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
      .google.protobuf.Timestamp create_time = 2;
      Specified by:
      hasCreateTime in interface DeploymentInfoOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
      .google.protobuf.Timestamp create_time = 2;
      Specified by:
      getCreateTime in interface DeploymentInfoOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
      .google.protobuf.Timestamp create_time = 2;
      Specified by:
      getCreateTimeOrBuilder in interface DeploymentInfoOrBuilder
    • getTaskQueueInfosList

      public List<DeploymentInfo.TaskQueueInfo> getTaskQueueInfosList()
      repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;
      Specified by:
      getTaskQueueInfosList in interface DeploymentInfoOrBuilder
    • getTaskQueueInfosOrBuilderList

      public List<? extends DeploymentInfo.TaskQueueInfoOrBuilder> getTaskQueueInfosOrBuilderList()
      repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;
      Specified by:
      getTaskQueueInfosOrBuilderList in interface DeploymentInfoOrBuilder
    • getTaskQueueInfosCount

      public int getTaskQueueInfosCount()
      repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;
      Specified by:
      getTaskQueueInfosCount in interface DeploymentInfoOrBuilder
    • getTaskQueueInfos

      public DeploymentInfo.TaskQueueInfo getTaskQueueInfos(int index)
      repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;
      Specified by:
      getTaskQueueInfos in interface DeploymentInfoOrBuilder
    • getTaskQueueInfosOrBuilder

      public DeploymentInfo.TaskQueueInfoOrBuilder getTaskQueueInfosOrBuilder(int index)
      repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;
      Specified by:
      getTaskQueueInfosOrBuilder in interface DeploymentInfoOrBuilder
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: DeploymentInfoOrBuilder
       A user-defined set of key-values. Can be updated as part of write operations to the
       deployment, such as `SetCurrentDeployment`.
       
      map<string, .temporal.api.common.v1.Payload> metadata = 4;
      Specified by:
      getMetadataCount in interface DeploymentInfoOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       A user-defined set of key-values. Can be updated as part of write operations to the
       deployment, such as `SetCurrentDeployment`.
       
      map<string, .temporal.api.common.v1.Payload> metadata = 4;
      Specified by:
      containsMetadata in interface DeploymentInfoOrBuilder
    • getMetadata

      @Deprecated public Map<String,Payload> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface DeploymentInfoOrBuilder
    • getMetadataMap

      public Map<String,Payload> getMetadataMap()
       A user-defined set of key-values. Can be updated as part of write operations to the
       deployment, such as `SetCurrentDeployment`.
       
      map<string, .temporal.api.common.v1.Payload> metadata = 4;
      Specified by:
      getMetadataMap in interface DeploymentInfoOrBuilder
    • getMetadataOrDefault

      public Payload getMetadataOrDefault(String key, Payload defaultValue)
       A user-defined set of key-values. Can be updated as part of write operations to the
       deployment, such as `SetCurrentDeployment`.
       
      map<string, .temporal.api.common.v1.Payload> metadata = 4;
      Specified by:
      getMetadataOrDefault in interface DeploymentInfoOrBuilder
    • getMetadataOrThrow

      public Payload getMetadataOrThrow(String key)
       A user-defined set of key-values. Can be updated as part of write operations to the
       deployment, such as `SetCurrentDeployment`.
       
      map<string, .temporal.api.common.v1.Payload> metadata = 4;
      Specified by:
      getMetadataOrThrow in interface DeploymentInfoOrBuilder
    • getIsCurrent

      public boolean getIsCurrent()
       If this deployment is the current deployment of its deployment series.
       
      bool is_current = 5;
      Specified by:
      getIsCurrent in interface DeploymentInfoOrBuilder
      Returns:
      The isCurrent.
    • 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 DeploymentInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DeploymentInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static DeploymentInfo getDefaultInstance()
    • parser

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

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