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
Static Methods
getDefaultInstance()
public static IdentityConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static IdentityConfig.Builder newBuilder()
Returns
newBuilder(IdentityConfig prototype)
public static IdentityConfig.Builder newBuilder(IdentityConfig prototype)
Parameter
Returns
public static IdentityConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static IdentityConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static IdentityConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IdentityConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static IdentityConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IdentityConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IdentityConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static IdentityConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static IdentityConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static IdentityConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static IdentityConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IdentityConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<IdentityConfig> parser()
Returns
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public IdentityConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<IdentityConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUserServiceAccountMapping()
public Map<String,String> getUserServiceAccountMapping()
Returns
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
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
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
Returns
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
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public IdentityConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IdentityConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public IdentityConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions