Class ApiKeySpec

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ApiKeySpecOrBuilder, java.io.Serializable

    @Generated(value="protoc",
               comments="annotations:ApiKeySpec.java.pb.meta")
    public final class ApiKeySpec
    extends com.google.protobuf.GeneratedMessageV3
    implements ApiKeySpecOrBuilder
    Protobuf type temporal.api.cloud.identity.v1.ApiKeySpec
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ApiKeySpec.Builder
      Protobuf type temporal.api.cloud.identity.v1.ApiKeySpec
      • 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 Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      static ApiKeySpec getDefaultInstance()  
      ApiKeySpec getDefaultInstanceForType()  
      java.lang.String getDescription()
      The description of the API key.
      com.google.protobuf.ByteString getDescriptionBytes()
      The description of the API key.
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      boolean getDisabled()
      True if the API key is disabled.
      java.lang.String getDisplayName()
      The display name of the API key.
      com.google.protobuf.ByteString getDisplayNameBytes()
      The display name of the API key.
      com.google.protobuf.Timestamp getExpiryTime()
      The expiry time of the API key.
      com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder()
      The expiry time of the API key.
      java.lang.String getOwnerId()
      The id of the owner to create the API key for.
      com.google.protobuf.ByteString getOwnerIdBytes()
      The id of the owner to create the API key for.
      OwnerType getOwnerType()
      The type of the owner to create the API key for.
      java.lang.String getOwnerTypeDeprecated()
      Deprecated.
      temporal.api.cloud.identity.v1.ApiKeySpec.owner_type_deprecated is deprecated.
      com.google.protobuf.ByteString getOwnerTypeDeprecatedBytes()
      Deprecated.
      temporal.api.cloud.identity.v1.ApiKeySpec.owner_type_deprecated is deprecated.
      int getOwnerTypeValue()
      The type of the owner to create the API key for.
      com.google.protobuf.Parser<ApiKeySpec> getParserForType()  
      int getSerializedSize()  
      boolean hasExpiryTime()
      The expiry time of the API key.
      int hashCode()  
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static ApiKeySpec.Builder newBuilder()  
      static ApiKeySpec.Builder newBuilder​(ApiKeySpec prototype)  
      ApiKeySpec.Builder newBuilderForType()  
      protected ApiKeySpec.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)  
      static ApiKeySpec parseDelimitedFrom​(java.io.InputStream input)  
      static ApiKeySpec parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static ApiKeySpec parseFrom​(byte[] data)  
      static ApiKeySpec parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static ApiKeySpec parseFrom​(com.google.protobuf.ByteString data)  
      static ApiKeySpec parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static ApiKeySpec parseFrom​(com.google.protobuf.CodedInputStream input)  
      static ApiKeySpec parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static ApiKeySpec parseFrom​(java.io.InputStream input)  
      static ApiKeySpec parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static ApiKeySpec parseFrom​(java.nio.ByteBuffer data)  
      static ApiKeySpec parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<ApiKeySpec> parser()  
      ApiKeySpec.Builder toBuilder()  
      void writeTo​(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, internalGetMapFieldReflection, 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, 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
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 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()
      • internalGetFieldAccessorTable

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

        public java.lang.String getOwnerId()
         The id of the owner to create the API key for.
         The owner id is immutable. Once set during creation, it cannot be changed.
         The owner id is the id of the user when the owner type is user.
         The owner id is the id of the service account when the owner type is service account.
         
        string owner_id = 1;
        Specified by:
        getOwnerId in interface ApiKeySpecOrBuilder
        Returns:
        The ownerId.
      • getOwnerIdBytes

        public com.google.protobuf.ByteString getOwnerIdBytes()
         The id of the owner to create the API key for.
         The owner id is immutable. Once set during creation, it cannot be changed.
         The owner id is the id of the user when the owner type is user.
         The owner id is the id of the service account when the owner type is service account.
         
        string owner_id = 1;
        Specified by:
        getOwnerIdBytes in interface ApiKeySpecOrBuilder
        Returns:
        The bytes for ownerId.
      • getOwnerTypeDeprecated

        @Deprecated
        public java.lang.String getOwnerTypeDeprecated()
        Deprecated.
        temporal.api.cloud.identity.v1.ApiKeySpec.owner_type_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=238
         The type of the owner to create the API key for.
         The owner type is immutable. Once set during creation, it cannot be changed.
         Possible values: user, service-account.
         Deprecated: Not supported after 2024-10-01-00 api version. Use owner_type instead.
         temporal:versioning:max_version=2024-10-01-00
         
        string owner_type_deprecated = 2 [deprecated = true];
        Specified by:
        getOwnerTypeDeprecated in interface ApiKeySpecOrBuilder
        Returns:
        The ownerTypeDeprecated.
      • getOwnerTypeDeprecatedBytes

        @Deprecated
        public com.google.protobuf.ByteString getOwnerTypeDeprecatedBytes()
        Deprecated.
        temporal.api.cloud.identity.v1.ApiKeySpec.owner_type_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=238
         The type of the owner to create the API key for.
         The owner type is immutable. Once set during creation, it cannot be changed.
         Possible values: user, service-account.
         Deprecated: Not supported after 2024-10-01-00 api version. Use owner_type instead.
         temporal:versioning:max_version=2024-10-01-00
         
        string owner_type_deprecated = 2 [deprecated = true];
        Specified by:
        getOwnerTypeDeprecatedBytes in interface ApiKeySpecOrBuilder
        Returns:
        The bytes for ownerTypeDeprecated.
      • getOwnerTypeValue

        public int getOwnerTypeValue()
         The type of the owner to create the API key for.
         temporal:versioning:min_version=2024-10-01-00
         temporal:enums:replaces=owner_type_deprecated
         
        .temporal.api.cloud.identity.v1.OwnerType owner_type = 7;
        Specified by:
        getOwnerTypeValue in interface ApiKeySpecOrBuilder
        Returns:
        The enum numeric value on the wire for ownerType.
      • getOwnerType

        public OwnerType getOwnerType()
         The type of the owner to create the API key for.
         temporal:versioning:min_version=2024-10-01-00
         temporal:enums:replaces=owner_type_deprecated
         
        .temporal.api.cloud.identity.v1.OwnerType owner_type = 7;
        Specified by:
        getOwnerType in interface ApiKeySpecOrBuilder
        Returns:
        The ownerType.
      • getDisplayName

        public java.lang.String getDisplayName()
         The display name of the API key.
         
        string display_name = 3;
        Specified by:
        getDisplayName in interface ApiKeySpecOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         The display name of the API key.
         
        string display_name = 3;
        Specified by:
        getDisplayNameBytes in interface ApiKeySpecOrBuilder
        Returns:
        The bytes for displayName.
      • getDescription

        public java.lang.String getDescription()
         The description of the API key.
         
        string description = 4;
        Specified by:
        getDescription in interface ApiKeySpecOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         The description of the API key.
         
        string description = 4;
        Specified by:
        getDescriptionBytes in interface ApiKeySpecOrBuilder
        Returns:
        The bytes for description.
      • hasExpiryTime

        public boolean hasExpiryTime()
         The expiry time of the API key.
         
        .google.protobuf.Timestamp expiry_time = 5;
        Specified by:
        hasExpiryTime in interface ApiKeySpecOrBuilder
        Returns:
        Whether the expiryTime field is set.
      • getExpiryTime

        public com.google.protobuf.Timestamp getExpiryTime()
         The expiry time of the API key.
         
        .google.protobuf.Timestamp expiry_time = 5;
        Specified by:
        getExpiryTime in interface ApiKeySpecOrBuilder
        Returns:
        The expiryTime.
      • getExpiryTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpiryTimeOrBuilder()
         The expiry time of the API key.
         
        .google.protobuf.Timestamp expiry_time = 5;
        Specified by:
        getExpiryTimeOrBuilder in interface ApiKeySpecOrBuilder
      • getDisabled

        public boolean getDisabled()
         True if the API key is disabled.
         
        bool disabled = 6;
        Specified by:
        getDisabled in interface ApiKeySpecOrBuilder
        Returns:
        The disabled.
      • 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 ApiKeySpec parseFrom​(java.nio.ByteBuffer data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ApiKeySpec parseFrom​(java.nio.ByteBuffer data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public static ApiKeySpec parseFrom​(java.io.InputStream input)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

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

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

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

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

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

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

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

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

        public static ApiKeySpec getDefaultInstance()
      • parser

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

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