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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiKeygetPrincipalApiKey()The API key info used to authenticate the request, if anyApiKeyOrBuildergetPrincipalApiKeyOrBuilder()The API key info used to authenticate the request, if anyGetCurrentIdentityResponse.PrincipalCasegetPrincipalCase()ServiceAccountgetServiceAccount()The user is a service accountServiceAccountOrBuildergetServiceAccountOrBuilder()The user is a service accountUsergetUser()The user is a regular userUserOrBuildergetUserOrBuilder()The user is a regular userbooleanhasPrincipalApiKey()The API key info used to authenticate the request, if anybooleanhasServiceAccount()The user is a service accountbooleanhasUser()The user is a regular user-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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()
-
-