Interface GetCurrentIdentityResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetCurrentIdentityResponse,GetCurrentIdentityResponse.Builder
@Generated(value="protoc",
comments="annotations:GetCurrentIdentityResponseOrBuilder.java.pb.meta")
public interface GetCurrentIdentityResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe API key info used to authenticate the request, if anyThe API key info used to authenticate the request, if anyThe user is a service accountThe user is a service accountgetUser()The user is a regular userThe user is a regular userbooleanThe API key info used to authenticate the request, if anybooleanThe user is a service accountbooleanhasUser()The user is a regular userMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasUser
boolean hasUser()The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1;- Returns:
- Whether the user field is set.
-
getUser
User getUser()The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1;- Returns:
- The user.
-
getUserOrBuilder
UserOrBuilder getUserOrBuilder()The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1; -
hasServiceAccount
boolean hasServiceAccount()The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2;- Returns:
- Whether the serviceAccount field is set.
-
getServiceAccount
ServiceAccount getServiceAccount()The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2;- Returns:
- The serviceAccount.
-
getServiceAccountOrBuilder
ServiceAccountOrBuilder getServiceAccountOrBuilder()The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2; -
hasPrincipalApiKey
boolean hasPrincipalApiKey()The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3;- Returns:
- Whether the principalApiKey field is set.
-
getPrincipalApiKey
ApiKey getPrincipalApiKey()The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3;- Returns:
- The principalApiKey.
-
getPrincipalApiKeyOrBuilder
ApiKeyOrBuilder getPrincipalApiKeyOrBuilder()The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3; -
getPrincipalCase
GetCurrentIdentityResponse.PrincipalCase getPrincipalCase()
-