Class SecurityConfig.Builder (4.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SecurityConfig.Builder
Overrides

build()

public SecurityConfig build()
Returns
TypeDescription
SecurityConfig

buildPartial()

public SecurityConfig buildPartial()
Returns
TypeDescription
SecurityConfig

clear()

public SecurityConfig.Builder clear()
Returns
TypeDescription
SecurityConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SecurityConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SecurityConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SecurityConfig.Builder
Overrides

clone()

public SecurityConfig.Builder clone()
Returns
TypeDescription
SecurityConfig.Builder
Overrides

getDefaultInstanceForType()

public SecurityConfig getDefaultInstanceForType()
Returns
TypeDescription
SecurityConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
IdentityConfigOrBuilder

getKerberosConfig()

public KerberosConfig getKerberosConfig()

Optional. Kerberos related configuration.

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

Returns
TypeDescription
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
TypeDescription
KerberosConfig.Builder

getKerberosConfigOrBuilder()

public KerberosConfigOrBuilder getKerberosConfigOrBuilder()

Optional. Kerberos related configuration.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the kerberosConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecurityConfig other)

public SecurityConfig.Builder mergeFrom(SecurityConfig other)
Parameter
NameDescription
otherSecurityConfig
Returns
TypeDescription
SecurityConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SecurityConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueIdentityConfig
Returns
TypeDescription
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
NameDescription
valueKerberosConfig
Returns
TypeDescription
SecurityConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SecurityConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueIdentityConfig
Returns
TypeDescription
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
NameDescription
builderForValueIdentityConfig.Builder
Returns
TypeDescription
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
NameDescription
valueKerberosConfig
Returns
TypeDescription
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
NameDescription
builderForValueKerberosConfig.Builder
Returns
TypeDescription
SecurityConfig.Builder

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

public SecurityConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SecurityConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SecurityConfig.Builder
Overrides