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,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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.cloud.identity.v1.ApiKeySpecNested 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 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 TypeMethodDescriptionbooleanstatic ApiKeySpecThe description of the API key.com.google.protobuf.ByteStringThe description of the API key.static final com.google.protobuf.Descriptors.DescriptorbooleanTrue if the API key is disabled.The display name of the API key.com.google.protobuf.ByteStringThe display name of the API key.com.google.protobuf.TimestampThe expiry time of the API key.com.google.protobuf.TimestampOrBuilderThe expiry time of the API key.The id of the owner to create the API key for.com.google.protobuf.ByteStringThe id of the owner to create the API key for.The type of the owner to create the API key for.Deprecated.temporal.api.cloud.identity.v1.ApiKeySpec.owner_type_deprecated is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.cloud.identity.v1.ApiKeySpec.owner_type_deprecated is deprecated.intThe type of the owner to create the API key for.com.google.protobuf.Parser<ApiKeySpec> intbooleanThe expiry time of the API key.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ApiKeySpec.Builderstatic ApiKeySpec.BuildernewBuilder(ApiKeySpec prototype) protected ApiKeySpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ApiKeySpecparseDelimitedFrom(InputStream input) static ApiKeySpecparseDelimitedFrom(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(InputStream input) static ApiKeySpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiKeySpecparseFrom(ByteBuffer data) static ApiKeySpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ApiKeySpec> 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, 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, 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
-
OWNER_ID_FIELD_NUMBER
public static final int OWNER_ID_FIELD_NUMBER- See Also:
-
OWNER_TYPE_DEPRECATED_FIELD_NUMBER
public static final int OWNER_TYPE_DEPRECATED_FIELD_NUMBER- See Also:
-
OWNER_TYPE_FIELD_NUMBER
public static final int OWNER_TYPE_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
EXPIRY_TIME_FIELD_NUMBER
public static final int EXPIRY_TIME_FIELD_NUMBER- See Also:
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- 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
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.temporal.api.cloud.identity.v1.ApiKeySpec.owner_type_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=290The 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.temporal.api.cloud.identity.v1.ApiKeySpec.owner_type_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=290The 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
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
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
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
- 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 ApiKeySpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiKeySpec parseFrom(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
- Throws:
IOException
-
parseFrom
public static ApiKeySpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ApiKeySpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ApiKeySpec 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 ApiKeySpec.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
-