Class KerberosConfig.Builder (4.50.0)

public static final class KerberosConfig.Builder extends GeneratedMessageV3.Builder<KerberosConfig.Builder> implements KerberosConfigOrBuilder

Specifies Kerberos related configuration.

Protobuf type google.cloud.dataproc.v1.KerberosConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public KerberosConfig build()
Returns
Type Description
KerberosConfig

buildPartial()

public KerberosConfig buildPartial()
Returns
Type Description
KerberosConfig

clear()

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

clearCrossRealmTrustAdminServer()

public KerberosConfig.Builder clearCrossRealmTrustAdminServer()

Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearCrossRealmTrustKdc()

public KerberosConfig.Builder clearCrossRealmTrustKdc()

Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearCrossRealmTrustRealm()

public KerberosConfig.Builder clearCrossRealmTrustRealm()

Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.

string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearCrossRealmTrustSharedPasswordUri()

public KerberosConfig.Builder clearCrossRealmTrustSharedPasswordUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.

string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearEnableKerberos()

public KerberosConfig.Builder clearEnableKerberos()

Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.

bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public KerberosConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
KerberosConfig.Builder
Overrides

clearKdcDbKeyUri()

public KerberosConfig.Builder clearKdcDbKeyUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.

string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearKeyPasswordUri()

public KerberosConfig.Builder clearKeyPasswordUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.

string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearKeystorePasswordUri()

public KerberosConfig.Builder clearKeystorePasswordUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.

string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearKeystoreUri()

public KerberosConfig.Builder clearKeystoreUri()

Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearKmsKeyUri()

public KerberosConfig.Builder clearKmsKeyUri()

Optional. The URI of the KMS key used to encrypt sensitive files.

string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRealm()

public KerberosConfig.Builder clearRealm()

Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.

string realm = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearRootPrincipalPasswordUri()

public KerberosConfig.Builder clearRootPrincipalPasswordUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.

string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearTgtLifetimeHours()

public KerberosConfig.Builder clearTgtLifetimeHours()

Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.

int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearTruststorePasswordUri()

public KerberosConfig.Builder clearTruststorePasswordUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.

string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clearTruststoreUri()

public KerberosConfig.Builder clearTruststoreUri()

Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

clone()

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

getCrossRealmTrustAdminServer()

public String getCrossRealmTrustAdminServer()

Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The crossRealmTrustAdminServer.

getCrossRealmTrustAdminServerBytes()

public ByteString getCrossRealmTrustAdminServerBytes()

Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for crossRealmTrustAdminServer.

getCrossRealmTrustKdc()

public String getCrossRealmTrustKdc()

Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The crossRealmTrustKdc.

getCrossRealmTrustKdcBytes()

public ByteString getCrossRealmTrustKdcBytes()

Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for crossRealmTrustKdc.

getCrossRealmTrustRealm()

public String getCrossRealmTrustRealm()

Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.

string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The crossRealmTrustRealm.

getCrossRealmTrustRealmBytes()

public ByteString getCrossRealmTrustRealmBytes()

Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.

string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for crossRealmTrustRealm.

getCrossRealmTrustSharedPasswordUri()

public String getCrossRealmTrustSharedPasswordUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.

string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The crossRealmTrustSharedPasswordUri.

getCrossRealmTrustSharedPasswordUriBytes()

public ByteString getCrossRealmTrustSharedPasswordUriBytes()

Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.

string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for crossRealmTrustSharedPasswordUri.

getDefaultInstanceForType()

public KerberosConfig getDefaultInstanceForType()
Returns
Type Description
KerberosConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnableKerberos()

public boolean getEnableKerberos()

Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.

bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableKerberos.

getKdcDbKeyUri()

public String getKdcDbKeyUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.

string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The kdcDbKeyUri.

getKdcDbKeyUriBytes()

public ByteString getKdcDbKeyUriBytes()

Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.

string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for kdcDbKeyUri.

getKeyPasswordUri()

public String getKeyPasswordUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.

string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The keyPasswordUri.

getKeyPasswordUriBytes()

public ByteString getKeyPasswordUriBytes()

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.

string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for keyPasswordUri.

getKeystorePasswordUri()

public String getKeystorePasswordUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.

string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The keystorePasswordUri.

getKeystorePasswordUriBytes()

public ByteString getKeystorePasswordUriBytes()

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.

string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for keystorePasswordUri.

getKeystoreUri()

public String getKeystoreUri()

Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The keystoreUri.

getKeystoreUriBytes()

public ByteString getKeystoreUriBytes()

Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for keystoreUri.

getKmsKeyUri()

public String getKmsKeyUri()

Optional. The URI of the KMS key used to encrypt sensitive files.

string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The kmsKeyUri.

getKmsKeyUriBytes()

public ByteString getKmsKeyUriBytes()

Optional. The URI of the KMS key used to encrypt sensitive files.

string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for kmsKeyUri.

getRealm()

public String getRealm()

Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.

string realm = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The realm.

getRealmBytes()

public ByteString getRealmBytes()

Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.

string realm = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for realm.

getRootPrincipalPasswordUri()

public String getRootPrincipalPasswordUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.

string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The rootPrincipalPasswordUri.

getRootPrincipalPasswordUriBytes()

public ByteString getRootPrincipalPasswordUriBytes()

Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.

string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for rootPrincipalPasswordUri.

getTgtLifetimeHours()

public int getTgtLifetimeHours()

Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.

int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The tgtLifetimeHours.

getTruststorePasswordUri()

public String getTruststorePasswordUri()

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.

string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The truststorePasswordUri.

getTruststorePasswordUriBytes()

public ByteString getTruststorePasswordUriBytes()

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.

string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for truststorePasswordUri.

getTruststoreUri()

public String getTruststoreUri()

Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The truststoreUri.

getTruststoreUriBytes()

public ByteString getTruststoreUriBytes()

Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for truststoreUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(KerberosConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public KerberosConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
KerberosConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCrossRealmTrustAdminServer(String value)

public KerberosConfig.Builder setCrossRealmTrustAdminServer(String value)

Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The crossRealmTrustAdminServer to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setCrossRealmTrustAdminServerBytes(ByteString value)

public KerberosConfig.Builder setCrossRealmTrustAdminServerBytes(ByteString value)

Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for crossRealmTrustAdminServer to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setCrossRealmTrustKdc(String value)

public KerberosConfig.Builder setCrossRealmTrustKdc(String value)

Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The crossRealmTrustKdc to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setCrossRealmTrustKdcBytes(ByteString value)

public KerberosConfig.Builder setCrossRealmTrustKdcBytes(ByteString value)

Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.

string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for crossRealmTrustKdc to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setCrossRealmTrustRealm(String value)

public KerberosConfig.Builder setCrossRealmTrustRealm(String value)

Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.

string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The crossRealmTrustRealm to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setCrossRealmTrustRealmBytes(ByteString value)

public KerberosConfig.Builder setCrossRealmTrustRealmBytes(ByteString value)

Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.

string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for crossRealmTrustRealm to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setCrossRealmTrustSharedPasswordUri(String value)

public KerberosConfig.Builder setCrossRealmTrustSharedPasswordUri(String value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.

string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The crossRealmTrustSharedPasswordUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setCrossRealmTrustSharedPasswordUriBytes(ByteString value)

public KerberosConfig.Builder setCrossRealmTrustSharedPasswordUriBytes(ByteString value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.

string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for crossRealmTrustSharedPasswordUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setEnableKerberos(boolean value)

public KerberosConfig.Builder setEnableKerberos(boolean value)

Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.

bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableKerberos to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setKdcDbKeyUri(String value)

public KerberosConfig.Builder setKdcDbKeyUri(String value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.

string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The kdcDbKeyUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setKdcDbKeyUriBytes(ByteString value)

public KerberosConfig.Builder setKdcDbKeyUriBytes(ByteString value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.

string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for kdcDbKeyUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setKeyPasswordUri(String value)

public KerberosConfig.Builder setKeyPasswordUri(String value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.

string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The keyPasswordUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setKeyPasswordUriBytes(ByteString value)

public KerberosConfig.Builder setKeyPasswordUriBytes(ByteString value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.

string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for keyPasswordUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setKeystorePasswordUri(String value)

public KerberosConfig.Builder setKeystorePasswordUri(String value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.

string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The keystorePasswordUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setKeystorePasswordUriBytes(ByteString value)

public KerberosConfig.Builder setKeystorePasswordUriBytes(ByteString value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.

string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for keystorePasswordUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setKeystoreUri(String value)

public KerberosConfig.Builder setKeystoreUri(String value)

Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The keystoreUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setKeystoreUriBytes(ByteString value)

public KerberosConfig.Builder setKeystoreUriBytes(ByteString value)

Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for keystoreUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setKmsKeyUri(String value)

public KerberosConfig.Builder setKmsKeyUri(String value)

Optional. The URI of the KMS key used to encrypt sensitive files.

string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The kmsKeyUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setKmsKeyUriBytes(ByteString value)

public KerberosConfig.Builder setKmsKeyUriBytes(ByteString value)

Optional. The URI of the KMS key used to encrypt sensitive files.

string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for kmsKeyUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setRealm(String value)

public KerberosConfig.Builder setRealm(String value)

Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.

string realm = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The realm to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setRealmBytes(ByteString value)

public KerberosConfig.Builder setRealmBytes(ByteString value)

Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.

string realm = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for realm to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

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

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

setRootPrincipalPasswordUri(String value)

public KerberosConfig.Builder setRootPrincipalPasswordUri(String value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.

string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The rootPrincipalPasswordUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setRootPrincipalPasswordUriBytes(ByteString value)

public KerberosConfig.Builder setRootPrincipalPasswordUriBytes(ByteString value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.

string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for rootPrincipalPasswordUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setTgtLifetimeHours(int value)

public KerberosConfig.Builder setTgtLifetimeHours(int value)

Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.

int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The tgtLifetimeHours to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setTruststorePasswordUri(String value)

public KerberosConfig.Builder setTruststorePasswordUri(String value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.

string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The truststorePasswordUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setTruststorePasswordUriBytes(ByteString value)

public KerberosConfig.Builder setTruststorePasswordUriBytes(ByteString value)

Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.

string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for truststorePasswordUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setTruststoreUri(String value)

public KerberosConfig.Builder setTruststoreUri(String value)

Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The truststoreUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setTruststoreUriBytes(ByteString value)

public KerberosConfig.Builder setTruststoreUriBytes(ByteString value)

Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.

string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for truststoreUri to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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