Class DeploymentInfo

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DeploymentInfoOrBuilder, java.io.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:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DeploymentInfo.Builder
      `DeploymentInfo` holds information about a deployment.
      static class  DeploymentInfo.TaskQueueInfo
      Protobuf type temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo
      static interface  DeploymentInfo.TaskQueueInfoOrBuilder  
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • newInstance

        protected java.lang.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.
      • 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.
      • getTaskQueueInfosCount

        public int getTaskQueueInfosCount()
        repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;
        Specified by:
        getTaskQueueInfosCount 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​(java.lang.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
      • getMetadataMap

        public java.util.Map<java.lang.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​(java.lang.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​(java.lang.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 java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.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​(java.lang.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​(java.nio.ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DeploymentInfo parseFrom​(java.nio.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​(java.io.InputStream input)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

        public static DeploymentInfo parseDelimitedFrom​(java.io.InputStream input)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

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

        public DeploymentInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • 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