Class GetCurrentIdentityResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetCurrentIdentityResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
io.temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetCurrentIdentityResponseOrBuilder,Cloneable
- Enclosing class:
GetCurrentIdentityResponse
public static final class GetCurrentIdentityResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
implements GetCurrentIdentityResponseOrBuilder
Protobuf type
temporal.api.cloud.cloudservice.v1.GetCurrentIdentityResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The API key info used to authenticate the request, if anyThe user is a service accountThe user is a regular userclone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe API key info used to authenticate the request, if anyThe 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 accountThe user is a service accountgetUser()The user is a regular userThe 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 userprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePrincipalApiKey(ApiKey value) The API key info used to authenticate the request, if anyThe user is a service accountmergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The user is a regular usersetPrincipalApiKey(ApiKey value) The API key info used to authenticate the request, if anysetPrincipalApiKey(ApiKey.Builder builderForValue) The API key info used to authenticate the request, if anysetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setServiceAccount(ServiceAccount value) The user is a service accountsetServiceAccount(ServiceAccount.Builder builderForValue) The user is a service accountsetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The user is a regular usersetUser(User.Builder builderForValue) The user is a regular userMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<GetCurrentIdentityResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-
setField
public GetCurrentIdentityResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-
clearField
public GetCurrentIdentityResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-
clearOneof
public GetCurrentIdentityResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-
setRepeatedField
public GetCurrentIdentityResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-
addRepeatedField
public GetCurrentIdentityResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetCurrentIdentityResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-
mergeFrom
public GetCurrentIdentityResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetCurrentIdentityResponse.Builder>- Throws:
IOException
-
getPrincipalCase
- Specified by:
getPrincipalCasein interfaceGetCurrentIdentityResponseOrBuilder
-
clearPrincipal
-
hasUser
public boolean hasUser()The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1;- Specified by:
hasUserin interfaceGetCurrentIdentityResponseOrBuilder- Returns:
- Whether the user field is set.
-
getUser
The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1;- Specified by:
getUserin interfaceGetCurrentIdentityResponseOrBuilder- Returns:
- The user.
-
setUser
The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1; -
setUser
The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1; -
mergeUser
The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1; -
clearUser
The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1; -
getUserBuilder
The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1; -
getUserOrBuilder
The user is a regular user
.temporal.api.cloud.identity.v1.User user = 1;- Specified by:
getUserOrBuilderin interfaceGetCurrentIdentityResponseOrBuilder
-
hasServiceAccount
public boolean hasServiceAccount()The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2;- Specified by:
hasServiceAccountin interfaceGetCurrentIdentityResponseOrBuilder- Returns:
- Whether the serviceAccount field is set.
-
getServiceAccount
The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2;- Specified by:
getServiceAccountin interfaceGetCurrentIdentityResponseOrBuilder- Returns:
- The serviceAccount.
-
setServiceAccount
The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2; -
setServiceAccount
The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2; -
mergeServiceAccount
The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2; -
clearServiceAccount
The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2; -
getServiceAccountBuilder
The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2; -
getServiceAccountOrBuilder
The user is a service account
.temporal.api.cloud.identity.v1.ServiceAccount service_account = 2;- Specified by:
getServiceAccountOrBuilderin interfaceGetCurrentIdentityResponseOrBuilder
-
hasPrincipalApiKey
public boolean hasPrincipalApiKey()The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3;- Specified by:
hasPrincipalApiKeyin interfaceGetCurrentIdentityResponseOrBuilder- Returns:
- Whether the principalApiKey field is set.
-
getPrincipalApiKey
The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3;- Specified by:
getPrincipalApiKeyin interfaceGetCurrentIdentityResponseOrBuilder- Returns:
- The principalApiKey.
-
setPrincipalApiKey
The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3; -
setPrincipalApiKey
The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3; -
mergePrincipalApiKey
The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3; -
clearPrincipalApiKey
The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3; -
getPrincipalApiKeyBuilder
The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3; -
getPrincipalApiKeyOrBuilder
The API key info used to authenticate the request, if any
.temporal.api.cloud.identity.v1.ApiKey principal_api_key = 3;- Specified by:
getPrincipalApiKeyOrBuilderin interfaceGetCurrentIdentityResponseOrBuilder
-
setUnknownFields
public final GetCurrentIdentityResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-
mergeUnknownFields
public final GetCurrentIdentityResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetCurrentIdentityResponse.Builder>
-