Class ApiKeySpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.cloud.identity.v1.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 ApiKeySpecOrBuilderProtobuf typetemporal.api.cloud.identity.v1.ApiKeySpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApiKeySpec.BuilderProtobuf typetemporal.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
-
-
Field Summary
Fields Modifier and Type Field Description static intDESCRIPTION_FIELD_NUMBERstatic intDISABLED_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intEXPIRY_TIME_FIELD_NUMBERstatic intOWNER_ID_FIELD_NUMBERstatic intOWNER_TYPE_DEPRECATED_FIELD_NUMBERstatic intOWNER_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static ApiKeySpecgetDefaultInstance()ApiKeySpecgetDefaultInstanceForType()java.lang.StringgetDescription()The description of the API key.com.google.protobuf.ByteStringgetDescriptionBytes()The description of the API key.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetDisabled()True if the API key is disabled.java.lang.StringgetDisplayName()The display name of the API key.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the API key.com.google.protobuf.TimestampgetExpiryTime()The expiry time of the API key.com.google.protobuf.TimestampOrBuildergetExpiryTimeOrBuilder()The expiry time of the API key.java.lang.StringgetOwnerId()The id of the owner to create the API key for.com.google.protobuf.ByteStringgetOwnerIdBytes()The id of the owner to create the API key for.OwnerTypegetOwnerType()The type of the owner to create the API key for.java.lang.StringgetOwnerTypeDeprecated()Deprecated.temporal.api.cloud.identity.v1.ApiKeySpec.owner_type_deprecated is deprecated.com.google.protobuf.ByteStringgetOwnerTypeDeprecatedBytes()Deprecated.temporal.api.cloud.identity.v1.ApiKeySpec.owner_type_deprecated is deprecated.intgetOwnerTypeValue()The type of the owner to create the API key for.com.google.protobuf.Parser<ApiKeySpec>getParserForType()intgetSerializedSize()booleanhasExpiryTime()The expiry time of the API key.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ApiKeySpec.BuildernewBuilder()static ApiKeySpec.BuildernewBuilder(ApiKeySpec prototype)ApiKeySpec.BuildernewBuilderForType()protected ApiKeySpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ApiKeySpecparseDelimitedFrom(java.io.InputStream input)static ApiKeySpecparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiKeySpecparseFrom(byte[] data)static ApiKeySpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiKeySpecparseFrom(com.google.protobuf.ByteString data)static ApiKeySpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiKeySpecparseFrom(com.google.protobuf.CodedInputStream input)static ApiKeySpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiKeySpecparseFrom(java.io.InputStream input)static ApiKeySpecparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ApiKeySpecparseFrom(java.nio.ByteBuffer data)static ApiKeySpecparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ApiKeySpec>parser()ApiKeySpec.BuildertoBuilder()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, 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
-
-
-
-
Field Detail
-
OWNER_ID_FIELD_NUMBER
public static final int OWNER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OWNER_TYPE_DEPRECATED_FIELD_NUMBER
public static final int OWNER_TYPE_DEPRECATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OWNER_TYPE_FIELD_NUMBER
public static final int OWNER_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRY_TIME_FIELD_NUMBER
public static final int EXPIRY_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_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
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.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:
getOwnerIdin interfaceApiKeySpecOrBuilder- 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:
getOwnerIdBytesin interfaceApiKeySpecOrBuilder- 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=282The 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 v0.3.0 api version. Use owner_type instead. temporal:versioning:max_version=v0.3.0
string owner_type_deprecated = 2 [deprecated = true];- Specified by:
getOwnerTypeDeprecatedin interfaceApiKeySpecOrBuilder- 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=282The 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 v0.3.0 api version. Use owner_type instead. temporal:versioning:max_version=v0.3.0
string owner_type_deprecated = 2 [deprecated = true];- Specified by:
getOwnerTypeDeprecatedBytesin interfaceApiKeySpecOrBuilder- Returns:
- The bytes for ownerTypeDeprecated.
-
getOwnerTypeValue
public int getOwnerTypeValue()
The type of the owner to create the API key for. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=owner_type_deprecated
.temporal.api.cloud.identity.v1.OwnerType owner_type = 7;- Specified by:
getOwnerTypeValuein interfaceApiKeySpecOrBuilder- 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=v0.3.0 temporal:enums:replaces=owner_type_deprecated
.temporal.api.cloud.identity.v1.OwnerType owner_type = 7;- Specified by:
getOwnerTypein interfaceApiKeySpecOrBuilder- Returns:
- The ownerType.
-
getDisplayName
public java.lang.String getDisplayName()
The display name of the API key.
string display_name = 3;- Specified by:
getDisplayNamein interfaceApiKeySpecOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the API key.
string display_name = 3;- Specified by:
getDisplayNameBytesin interfaceApiKeySpecOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
public java.lang.String getDescription()
The description of the API key.
string description = 4;- Specified by:
getDescriptionin interfaceApiKeySpecOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description of the API key.
string description = 4;- Specified by:
getDescriptionBytesin interfaceApiKeySpecOrBuilder- Returns:
- The bytes for description.
-
hasExpiryTime
public boolean hasExpiryTime()
The expiry time of the API key.
.google.protobuf.Timestamp expiry_time = 5;- Specified by:
hasExpiryTimein interfaceApiKeySpecOrBuilder- 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:
getExpiryTimein interfaceApiKeySpecOrBuilder- 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:
getExpiryTimeOrBuilderin interfaceApiKeySpecOrBuilder
-
getDisabled
public boolean getDisabled()
True if the API key is disabled.
bool disabled = 6;- Specified by:
getDisabledin interfaceApiKeySpecOrBuilder- Returns:
- The disabled.
-
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 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ApiKeySpec.Builder newBuilder()
-
newBuilder
public static ApiKeySpec.Builder newBuilder(ApiKeySpec prototype)
-
toBuilder
public ApiKeySpec.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ApiKeySpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ApiKeySpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-