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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class`DeploymentInfo` holds information about a deployment.static final classProtobuf typetemporal.api.deployment.v1.DeploymentInfo.TaskQueueInfostatic interfaceNested 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsMetadata(String key) A user-defined set of key-values.booleancom.google.protobuf.Timestamp.google.protobuf.Timestamp create_time = 2;com.google.protobuf.TimestampOrBuilder.google.protobuf.Timestamp create_time = 2;static DeploymentInfo.temporal.api.deployment.v1.Deployment deployment = 1;.temporal.api.deployment.v1.Deployment deployment = 1;static final com.google.protobuf.Descriptors.DescriptorbooleanIf this deployment is the current deployment of its deployment series.Deprecated.intA user-defined set of key-values.A user-defined set of key-values.getMetadataOrDefault(String key, Payload defaultValue) A user-defined set of key-values.getMetadataOrThrow(String key) A user-defined set of key-values.com.google.protobuf.Parser<DeploymentInfo> intgetTaskQueueInfos(int index) repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;intrepeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;getTaskQueueInfosOrBuilder(int index) repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;List<? extends DeploymentInfo.TaskQueueInfoOrBuilder> repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;boolean.google.protobuf.Timestamp create_time = 2;boolean.temporal.api.deployment.v1.Deployment deployment = 1;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic DeploymentInfo.Builderstatic DeploymentInfo.BuildernewBuilder(DeploymentInfo prototype) protected DeploymentInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static DeploymentInfoparseDelimitedFrom(InputStream input) static DeploymentInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentInfoparseFrom(byte[] data) static DeploymentInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentInfoparseFrom(com.google.protobuf.ByteString data) static DeploymentInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentInfoparseFrom(com.google.protobuf.CodedInputStream input) static DeploymentInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentInfoparseFrom(InputStream input) static DeploymentInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DeploymentInfoparseFrom(ByteBuffer data) static DeploymentInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DeploymentInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasDeployment
public boolean hasDeployment().temporal.api.deployment.v1.Deployment deployment = 1;- Specified by:
hasDeploymentin interfaceDeploymentInfoOrBuilder- Returns:
- Whether the deployment field is set.
-
getDeployment
.temporal.api.deployment.v1.Deployment deployment = 1;- Specified by:
getDeploymentin interfaceDeploymentInfoOrBuilder- Returns:
- The deployment.
-
getDeploymentOrBuilder
.temporal.api.deployment.v1.Deployment deployment = 1;- Specified by:
getDeploymentOrBuilderin interfaceDeploymentInfoOrBuilder
-
hasCreateTime
public boolean hasCreateTime().google.protobuf.Timestamp create_time = 2;- Specified by:
hasCreateTimein interfaceDeploymentInfoOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime().google.protobuf.Timestamp create_time = 2;- Specified by:
getCreateTimein interfaceDeploymentInfoOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder().google.protobuf.Timestamp create_time = 2;- Specified by:
getCreateTimeOrBuilderin interfaceDeploymentInfoOrBuilder
-
getTaskQueueInfosList
repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;- Specified by:
getTaskQueueInfosListin interfaceDeploymentInfoOrBuilder
-
getTaskQueueInfosOrBuilderList
repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;- Specified by:
getTaskQueueInfosOrBuilderListin interfaceDeploymentInfoOrBuilder
-
getTaskQueueInfosCount
public int getTaskQueueInfosCount()repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;- Specified by:
getTaskQueueInfosCountin interfaceDeploymentInfoOrBuilder
-
getTaskQueueInfos
repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;- Specified by:
getTaskQueueInfosin interfaceDeploymentInfoOrBuilder
-
getTaskQueueInfosOrBuilder
repeated .temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo task_queue_infos = 3;- Specified by:
getTaskQueueInfosOrBuilderin interfaceDeploymentInfoOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DeploymentInfoOrBuilderA 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:
getMetadataCountin interfaceDeploymentInfoOrBuilder
-
containsMetadata
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:
containsMetadatain interfaceDeploymentInfoOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceDeploymentInfoOrBuilder
-
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:
getMetadataMapin interfaceDeploymentInfoOrBuilder
-
getMetadataOrDefault
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:
getMetadataOrDefaultin interfaceDeploymentInfoOrBuilder
-
getMetadataOrThrow
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:
getMetadataOrThrowin interfaceDeploymentInfoOrBuilder
-
getIsCurrent
public boolean getIsCurrent()If this deployment is the current deployment of its deployment series.
bool is_current = 5;- Specified by:
getIsCurrentin interfaceDeploymentInfoOrBuilder- Returns:
- The isCurrent.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static DeploymentInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DeploymentInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-