Package io.temporal.api.namespace.v1
Class UpdateNamespaceInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.namespace.v1.UpdateNamespaceInfo
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateNamespaceInfoOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:UpdateNamespaceInfo.java.pb.meta") public final class UpdateNamespaceInfo extends com.google.protobuf.GeneratedMessageV3 implements UpdateNamespaceInfoOrBuilderProtobuf typetemporal.api.namespace.v1.UpdateNamespaceInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateNamespaceInfo.BuilderProtobuf typetemporal.api.namespace.v1.UpdateNamespaceInfo-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDATA_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intOWNER_EMAIL_FIELD_NUMBERstatic intSTATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsData(java.lang.String key)A key-value map for any customized purpose.booleanequals(java.lang.Object obj)java.util.Map<java.lang.String,java.lang.String>getData()Deprecated.intgetDataCount()A key-value map for any customized purpose.java.util.Map<java.lang.String,java.lang.String>getDataMap()A key-value map for any customized purpose.java.lang.StringgetDataOrDefault(java.lang.String key, java.lang.String defaultValue)A key-value map for any customized purpose.java.lang.StringgetDataOrThrow(java.lang.String key)A key-value map for any customized purpose.static UpdateNamespaceInfogetDefaultInstance()UpdateNamespaceInfogetDefaultInstanceForType()java.lang.StringgetDescription()string description = 1;com.google.protobuf.ByteStringgetDescriptionBytes()string description = 1;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetOwnerEmail()string owner_email = 2;com.google.protobuf.ByteStringgetOwnerEmailBytes()string owner_email = 2;com.google.protobuf.Parser<UpdateNamespaceInfo>getParserForType()intgetSerializedSize()NamespaceStategetState()New namespace state, server will reject if transition is not allowed.intgetStateValue()New namespace state, server will reject if transition is not allowed.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static UpdateNamespaceInfo.BuildernewBuilder()static UpdateNamespaceInfo.BuildernewBuilder(UpdateNamespaceInfo prototype)UpdateNamespaceInfo.BuildernewBuilderForType()protected UpdateNamespaceInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static UpdateNamespaceInfoparseDelimitedFrom(java.io.InputStream input)static UpdateNamespaceInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpdateNamespaceInfoparseFrom(byte[] data)static UpdateNamespaceInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpdateNamespaceInfoparseFrom(com.google.protobuf.ByteString data)static UpdateNamespaceInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpdateNamespaceInfoparseFrom(com.google.protobuf.CodedInputStream input)static UpdateNamespaceInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpdateNamespaceInfoparseFrom(java.io.InputStream input)static UpdateNamespaceInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UpdateNamespaceInfoparseFrom(java.nio.ByteBuffer data)static UpdateNamespaceInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<UpdateNamespaceInfo>parser()UpdateNamespaceInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OWNER_EMAIL_FIELD_NUMBER
public static final int OWNER_EMAIL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDescription
public java.lang.String getDescription()
string description = 1;- Specified by:
getDescriptionin interfaceUpdateNamespaceInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 1;- Specified by:
getDescriptionBytesin interfaceUpdateNamespaceInfoOrBuilder- Returns:
- The bytes for description.
-
getOwnerEmail
public java.lang.String getOwnerEmail()
string owner_email = 2;- Specified by:
getOwnerEmailin interfaceUpdateNamespaceInfoOrBuilder- Returns:
- The ownerEmail.
-
getOwnerEmailBytes
public com.google.protobuf.ByteString getOwnerEmailBytes()
string owner_email = 2;- Specified by:
getOwnerEmailBytesin interfaceUpdateNamespaceInfoOrBuilder- Returns:
- The bytes for ownerEmail.
-
getDataCount
public int getDataCount()
Description copied from interface:UpdateNamespaceInfoOrBuilderA key-value map for any customized purpose. If data already exists on the namespace, this will merge with the existing key values.
map<string, string> data = 3;- Specified by:
getDataCountin interfaceUpdateNamespaceInfoOrBuilder
-
containsData
public boolean containsData(java.lang.String key)
A key-value map for any customized purpose. If data already exists on the namespace, this will merge with the existing key values.
map<string, string> data = 3;- Specified by:
containsDatain interfaceUpdateNamespaceInfoOrBuilder
-
getData
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getData()
Deprecated.UsegetDataMap()instead.- Specified by:
getDatain interfaceUpdateNamespaceInfoOrBuilder
-
getDataMap
public java.util.Map<java.lang.String,java.lang.String> getDataMap()
A key-value map for any customized purpose. If data already exists on the namespace, this will merge with the existing key values.
map<string, string> data = 3;- Specified by:
getDataMapin interfaceUpdateNamespaceInfoOrBuilder
-
getDataOrDefault
public java.lang.String getDataOrDefault(java.lang.String key, java.lang.String defaultValue)A key-value map for any customized purpose. If data already exists on the namespace, this will merge with the existing key values.
map<string, string> data = 3;- Specified by:
getDataOrDefaultin interfaceUpdateNamespaceInfoOrBuilder
-
getDataOrThrow
public java.lang.String getDataOrThrow(java.lang.String key)
A key-value map for any customized purpose. If data already exists on the namespace, this will merge with the existing key values.
map<string, string> data = 3;- Specified by:
getDataOrThrowin interfaceUpdateNamespaceInfoOrBuilder
-
getStateValue
public int getStateValue()
New namespace state, server will reject if transition is not allowed. Allowed transitions are: Registered -> [ Deleted | Deprecated | Handover ] Handover -> [ Registered ] Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
.temporal.api.enums.v1.NamespaceState state = 4;- Specified by:
getStateValuein interfaceUpdateNamespaceInfoOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public NamespaceState getState()
New namespace state, server will reject if transition is not allowed. Allowed transitions are: Registered -> [ Deleted | Deprecated | Handover ] Handover -> [ Registered ] Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
.temporal.api.enums.v1.NamespaceState state = 4;- Specified by:
getStatein interfaceUpdateNamespaceInfoOrBuilder- Returns:
- The state.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 UpdateNamespaceInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateNamespaceInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateNamespaceInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateNamespaceInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateNamespaceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateNamespaceInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpdateNamespaceInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UpdateNamespaceInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static UpdateNamespaceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static UpdateNamespaceInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UpdateNamespaceInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static UpdateNamespaceInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public UpdateNamespaceInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static UpdateNamespaceInfo.Builder newBuilder()
-
newBuilder
public static UpdateNamespaceInfo.Builder newBuilder(UpdateNamespaceInfo prototype)
-
toBuilder
public UpdateNamespaceInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpdateNamespaceInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static UpdateNamespaceInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UpdateNamespaceInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<UpdateNamespaceInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UpdateNamespaceInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-