public final class KerberosConfig extends GeneratedMessageV3 implements KerberosConfigOrBuilder
Specifies Kerberos related configuration.
Protobuf type google.cloud.dataproc.v1.KerberosConfig
Static Fields
CROSS_REALM_TRUST_ADMIN_SERVER_FIELD_NUMBER
public static final int CROSS_REALM_TRUST_ADMIN_SERVER_FIELD_NUMBER
Field Value
CROSS_REALM_TRUST_KDC_FIELD_NUMBER
public static final int CROSS_REALM_TRUST_KDC_FIELD_NUMBER
Field Value
CROSS_REALM_TRUST_REALM_FIELD_NUMBER
public static final int CROSS_REALM_TRUST_REALM_FIELD_NUMBER
Field Value
CROSS_REALM_TRUST_SHARED_PASSWORD_URI_FIELD_NUMBER
public static final int CROSS_REALM_TRUST_SHARED_PASSWORD_URI_FIELD_NUMBER
Field Value
ENABLE_KERBEROS_FIELD_NUMBER
public static final int ENABLE_KERBEROS_FIELD_NUMBER
Field Value
KDC_DB_KEY_URI_FIELD_NUMBER
public static final int KDC_DB_KEY_URI_FIELD_NUMBER
Field Value
KEYSTORE_PASSWORD_URI_FIELD_NUMBER
public static final int KEYSTORE_PASSWORD_URI_FIELD_NUMBER
Field Value
KEYSTORE_URI_FIELD_NUMBER
public static final int KEYSTORE_URI_FIELD_NUMBER
Field Value
KEY_PASSWORD_URI_FIELD_NUMBER
public static final int KEY_PASSWORD_URI_FIELD_NUMBER
Field Value
KMS_KEY_URI_FIELD_NUMBER
public static final int KMS_KEY_URI_FIELD_NUMBER
Field Value
REALM_FIELD_NUMBER
public static final int REALM_FIELD_NUMBER
Field Value
ROOT_PRINCIPAL_PASSWORD_URI_FIELD_NUMBER
public static final int ROOT_PRINCIPAL_PASSWORD_URI_FIELD_NUMBER
Field Value
TGT_LIFETIME_HOURS_FIELD_NUMBER
public static final int TGT_LIFETIME_HOURS_FIELD_NUMBER
Field Value
TRUSTSTORE_PASSWORD_URI_FIELD_NUMBER
public static final int TRUSTSTORE_PASSWORD_URI_FIELD_NUMBER
Field Value
TRUSTSTORE_URI_FIELD_NUMBER
public static final int TRUSTSTORE_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static KerberosConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static KerberosConfig.Builder newBuilder()
Returns
newBuilder(KerberosConfig prototype)
public static KerberosConfig.Builder newBuilder(KerberosConfig prototype)
Parameter
Returns
public static KerberosConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static KerberosConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static KerberosConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KerberosConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static KerberosConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KerberosConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KerberosConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static KerberosConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KerberosConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static KerberosConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static KerberosConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KerberosConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<KerberosConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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 various 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 various sensitive
files.
string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getParserForType()
public Parser<KerberosConfig> getParserForType()
Returns
Overrides
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
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.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public KerberosConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KerberosConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public KerberosConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions