Class IdentityMappingEntry (0.60.0)

public final class IdentityMappingEntry extends GeneratedMessageV3 implements IdentityMappingEntryOrBuilder

Identity Mapping Entry that maps an external identity to an internal identity.

Protobuf type google.cloud.discoveryengine.v1.IdentityMappingEntry

Static Fields

EXTERNAL_IDENTITY_FIELD_NUMBER

public static final int EXTERNAL_IDENTITY_FIELD_NUMBER
Field Value
Type Description
int

GROUP_ID_FIELD_NUMBER

public static final int GROUP_ID_FIELD_NUMBER
Field Value
Type Description
int

USER_ID_FIELD_NUMBER

public static final int USER_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IdentityMappingEntry getDefaultInstance()
Returns
Type Description
IdentityMappingEntry

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IdentityMappingEntry.Builder newBuilder()
Returns
Type Description
IdentityMappingEntry.Builder

newBuilder(IdentityMappingEntry prototype)

public static IdentityMappingEntry.Builder newBuilder(IdentityMappingEntry prototype)
Parameter
Name Description
prototype IdentityMappingEntry
Returns
Type Description
IdentityMappingEntry.Builder

parseDelimitedFrom(InputStream input)

public static IdentityMappingEntry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IdentityMappingEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IdentityMappingEntry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IdentityMappingEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IdentityMappingEntry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IdentityMappingEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IdentityMappingEntry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IdentityMappingEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IdentityMappingEntry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IdentityMappingEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IdentityMappingEntry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IdentityMappingEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IdentityMappingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IdentityMappingEntry> parser()
Returns
Type Description
Parser<IdentityMappingEntry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public IdentityMappingEntry getDefaultInstanceForType()
Returns
Type Description
IdentityMappingEntry

getExternalIdentity()

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];

Returns
Type Description
String

The externalIdentity.

getExternalIdentityBytes()

public 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];

Returns
Type Description
ByteString

The bytes for externalIdentity.

getGroupId()

public 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;

Returns
Type Description
String

The groupId.

getGroupIdBytes()

public 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;

Returns
Type Description
ByteString

The bytes for groupId.

getIdentityProviderIdCase()

public IdentityMappingEntry.IdentityProviderIdCase getIdentityProviderIdCase()
Returns
Type Description
IdentityMappingEntry.IdentityProviderIdCase

getParserForType()

public Parser<IdentityMappingEntry> getParserForType()
Returns
Type Description
Parser<IdentityMappingEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserId()

public 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;

Returns
Type Description
String

The userId.

getUserIdBytes()

public 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;

Returns
Type Description
ByteString

The bytes for userId.

hasGroupId()

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;

Returns
Type Description
boolean

Whether the groupId field is set.

hasUserId()

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;

Returns
Type Description
boolean

Whether the userId field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IdentityMappingEntry.Builder newBuilderForType()
Returns
Type Description
IdentityMappingEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IdentityMappingEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IdentityMappingEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IdentityMappingEntry.Builder toBuilder()
Returns
Type Description
IdentityMappingEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException