Class SecurityConfig.Builder (4.44.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityConfig.Builder
Overrides

build()

public SecurityConfig build()
Returns
Type Description
SecurityConfig

buildPartial()

public SecurityConfig buildPartial()
Returns
Type Description
SecurityConfig

clear()

public SecurityConfig.Builder clear()
Returns
Type Description
SecurityConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SecurityConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SecurityConfig.Builder
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
Type Description
SecurityConfig.Builder

clearKerberosConfig()

public SecurityConfig.Builder clearKerberosConfig()

Optional. Kerberos related configuration.

.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecurityConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SecurityConfig.Builder
Overrides

clone()

public SecurityConfig.Builder clone()
Returns
Type Description
SecurityConfig.Builder
Overrides

getDefaultInstanceForType()

public SecurityConfig getDefaultInstanceForType()
Returns
Type Description
SecurityConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
IdentityConfig

The identityConfig.

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
Type Description
IdentityConfig.Builder

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
Type Description
IdentityConfigOrBuilder

getKerberosConfig()

public KerberosConfig getKerberosConfig()

Optional. Kerberos related configuration.

.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig

The kerberosConfig.

getKerberosConfigBuilder()

public KerberosConfig.Builder getKerberosConfigBuilder()

Optional. Kerberos related configuration.

.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

getKerberosConfigOrBuilder()

public KerberosConfigOrBuilder getKerberosConfigOrBuilder()

Optional. Kerberos related configuration.

.google.cloud.dataproc.v1.KerberosConfig kerberos_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfigOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityConfig other)

public SecurityConfig.Builder mergeFrom(SecurityConfig other)
Parameter
Name Description
other SecurityConfig
Returns
Type Description
SecurityConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SecurityConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SecurityConfig.Builder
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
Name Description
value IdentityConfig
Returns
Type Description
SecurityConfig.Builder

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
Name Description
value KerberosConfig
Returns
Type Description
SecurityConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityConfig.Builder
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
Name Description
value IdentityConfig
Returns
Type Description
SecurityConfig.Builder

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
Name Description
builderForValue IdentityConfig.Builder
Returns
Type Description
SecurityConfig.Builder

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
Name Description
value KerberosConfig
Returns
Type Description
SecurityConfig.Builder

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
Name Description
builderForValue KerberosConfig.Builder
Returns
Type Description
SecurityConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SecurityConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SecurityConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityConfig.Builder
Overrides