Class IdentityConfig (4.24.0)

public final class IdentityConfig extends GeneratedMessageV3 implements IdentityConfigOrBuilder

Identity related configuration, including service account based secure multi-tenancy user mappings.

Protobuf type google.cloud.dataproc.v1.IdentityConfig

Static Fields

USER_SERVICE_ACCOUNT_MAPPING_FIELD_NUMBER

public static final int USER_SERVICE_ACCOUNT_MAPPING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IdentityConfig getDefaultInstance()
Returns
TypeDescription
IdentityConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static IdentityConfig.Builder newBuilder()
Returns
TypeDescription
IdentityConfig.Builder

newBuilder(IdentityConfig prototype)

public static IdentityConfig.Builder newBuilder(IdentityConfig prototype)
Parameter
NameDescription
prototypeIdentityConfig
Returns
TypeDescription
IdentityConfig.Builder

parseDelimitedFrom(InputStream input)

public static IdentityConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IdentityConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IdentityConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IdentityConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IdentityConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IdentityConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IdentityConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IdentityConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IdentityConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IdentityConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IdentityConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IdentityConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IdentityConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IdentityConfig> parser()
Returns
TypeDescription
Parser<IdentityConfig>

Methods

containsUserServiceAccountMapping(String key)

public boolean containsUserServiceAccountMapping(String key)

Required. Map of user to service account.

map<string, string> user_service_account_mapping = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public IdentityConfig getDefaultInstanceForType()
Returns
TypeDescription
IdentityConfig

getParserForType()

public Parser<IdentityConfig> getParserForType()
Returns
TypeDescription
Parser<IdentityConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUserServiceAccountMapping()

public Map<String,String> getUserServiceAccountMapping()
Returns
TypeDescription
Map<String,String>

getUserServiceAccountMappingCount()

public int getUserServiceAccountMappingCount()

Required. Map of user to service account.

map<string, string> user_service_account_mapping = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getUserServiceAccountMappingMap()

public Map<String,String> getUserServiceAccountMappingMap()

Required. Map of user to service account.

map<string, string> user_service_account_mapping = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Map<String,String>

getUserServiceAccountMappingOrDefault(String key, String defaultValue)

public String getUserServiceAccountMappingOrDefault(String key, String defaultValue)

Required. Map of user to service account.

map<string, string> user_service_account_mapping = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getUserServiceAccountMappingOrThrow(String key)

public String getUserServiceAccountMappingOrThrow(String key)

Required. Map of user to service account.

map<string, string> user_service_account_mapping = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IdentityConfig.Builder newBuilderForType()
Returns
TypeDescription
IdentityConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IdentityConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IdentityConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IdentityConfig.Builder toBuilder()
Returns
TypeDescription
IdentityConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException