public static final class SecurityConfig.Builder extends GeneratedMessageV3.Builder<SecurityConfig.Builder> implements SecurityConfigOrBuilder
Security related configuration, including encryption, Kerberos, etc.
Protobuf type google.cloud.dataproc.v1.SecurityConfig
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SecurityConfig build()
Returns
buildPartial()
public SecurityConfig buildPartial()
Returns
clear()
public SecurityConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SecurityConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIdentityConfig()
public SecurityConfig.Builder clearIdentityConfig()
Optional. Identity related configuration, including service account based
secure multi-tenancy user mappings.
.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearKerberosConfig()
public SecurityConfig.Builder clearKerberosConfig()
Optional. Kerberos related configuration.
.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SecurityConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SecurityConfig getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getIdentityConfig()
public IdentityConfig getIdentityConfig()
Optional. Identity related configuration, including service account based
secure multi-tenancy user mappings.
.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getIdentityConfigBuilder()
public IdentityConfig.Builder getIdentityConfigBuilder()
Optional. Identity related configuration, including service account based
secure multi-tenancy user mappings.
.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getIdentityConfigOrBuilder()
public IdentityConfigOrBuilder getIdentityConfigOrBuilder()
Optional. Identity related configuration, including service account based
secure multi-tenancy user mappings.
.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getKerberosConfig()
public KerberosConfig getKerberosConfig()
Optional. Kerberos related configuration.
.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getKerberosConfigBuilder()
public KerberosConfig.Builder getKerberosConfigBuilder()
Optional. Kerberos related configuration.
.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getKerberosConfigOrBuilder()
public KerberosConfigOrBuilder getKerberosConfigOrBuilder()
Optional. Kerberos related configuration.
.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
hasIdentityConfig()
public boolean hasIdentityConfig()
Optional. Identity related configuration, including service account based
secure multi-tenancy user mappings.
.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the identityConfig field is set.
|
hasKerberosConfig()
public boolean hasKerberosConfig()
Optional. Kerberos related configuration.
.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the kerberosConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SecurityConfig other)
public SecurityConfig.Builder mergeFrom(SecurityConfig other)
Parameter
Returns
public SecurityConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SecurityConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeIdentityConfig(IdentityConfig value)
public SecurityConfig.Builder mergeIdentityConfig(IdentityConfig value)
Optional. Identity related configuration, including service account based
secure multi-tenancy user mappings.
.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeKerberosConfig(KerberosConfig value)
public SecurityConfig.Builder mergeKerberosConfig(KerberosConfig value)
Optional. Kerberos related configuration.
.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIdentityConfig(IdentityConfig value)
public SecurityConfig.Builder setIdentityConfig(IdentityConfig value)
Optional. Identity related configuration, including service account based
secure multi-tenancy user mappings.
.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setIdentityConfig(IdentityConfig.Builder builderForValue)
public SecurityConfig.Builder setIdentityConfig(IdentityConfig.Builder builderForValue)
Optional. Identity related configuration, including service account based
secure multi-tenancy user mappings.
.google.cloud.dataproc.v1.IdentityConfig identity_config = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setKerberosConfig(KerberosConfig value)
public SecurityConfig.Builder setKerberosConfig(KerberosConfig value)
Optional. Kerberos related configuration.
.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setKerberosConfig(KerberosConfig.Builder builderForValue)
public SecurityConfig.Builder setKerberosConfig(KerberosConfig.Builder builderForValue)
Optional. Kerberos related configuration.
.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides