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