public static final class IdentityMappingEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<IdentityMappingEntry.Builder> implements IdentityMappingEntryOrBuilder
Identity Mapping Entry that maps an external identity to an internal identity.Protobuf type
google.cloud.discoveryengine.v1.IdentityMappingEntryaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IdentityMappingEntry.Builder>public IdentityMappingEntry.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<IdentityMappingEntry.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<IdentityMappingEntry.Builder>public IdentityMappingEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IdentityMappingEntry build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IdentityMappingEntry buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IdentityMappingEntry.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IdentityMappingEntry.Builder>public IdentityMappingEntry.Builder mergeFrom(IdentityMappingEntry other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<IdentityMappingEntry.Builder>public IdentityMappingEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IdentityMappingEntry.Builder>IOExceptionpublic IdentityMappingEntry.IdentityProviderIdCase getIdentityProviderIdCase()
getIdentityProviderIdCase in interface IdentityMappingEntryOrBuilderpublic IdentityMappingEntry.Builder clearIdentityProviderId()
public boolean hasUserId()
User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.
string user_id = 2;hasUserId in interface IdentityMappingEntryOrBuilderpublic String getUserId()
User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.
string user_id = 2;getUserId in interface IdentityMappingEntryOrBuilderpublic com.google.protobuf.ByteString getUserIdBytes()
User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.
string user_id = 2;getUserIdBytes in interface IdentityMappingEntryOrBuilderpublic IdentityMappingEntry.Builder setUserId(String value)
User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.
string user_id = 2;value - The userId to set.public IdentityMappingEntry.Builder clearUserId()
User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.
string user_id = 2;public IdentityMappingEntry.Builder setUserIdBytes(com.google.protobuf.ByteString value)
User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.
string user_id = 2;value - The bytes for userId to set.public boolean hasGroupId()
Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
string group_id = 3;hasGroupId in interface IdentityMappingEntryOrBuilderpublic String getGroupId()
Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
string group_id = 3;getGroupId in interface IdentityMappingEntryOrBuilderpublic com.google.protobuf.ByteString getGroupIdBytes()
Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
string group_id = 3;getGroupIdBytes in interface IdentityMappingEntryOrBuilderpublic IdentityMappingEntry.Builder setGroupId(String value)
Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
string group_id = 3;value - The groupId to set.public IdentityMappingEntry.Builder clearGroupId()
Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
string group_id = 3;public IdentityMappingEntry.Builder setGroupIdBytes(com.google.protobuf.ByteString value)
Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
string group_id = 3;value - The bytes for groupId to set.public String getExternalIdentity()
Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.
string external_identity = 1 [(.google.api.field_behavior) = REQUIRED];getExternalIdentity in interface IdentityMappingEntryOrBuilderpublic com.google.protobuf.ByteString getExternalIdentityBytes()
Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.
string external_identity = 1 [(.google.api.field_behavior) = REQUIRED];getExternalIdentityBytes in interface IdentityMappingEntryOrBuilderpublic IdentityMappingEntry.Builder setExternalIdentity(String value)
Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.
string external_identity = 1 [(.google.api.field_behavior) = REQUIRED];value - The externalIdentity to set.public IdentityMappingEntry.Builder clearExternalIdentity()
Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.
string external_identity = 1 [(.google.api.field_behavior) = REQUIRED];public IdentityMappingEntry.Builder setExternalIdentityBytes(com.google.protobuf.ByteString value)
Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters.
string external_identity = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for externalIdentity to set.Copyright © 2026 Google LLC. All rights reserved.