public final class KerberosConfig extends GeneratedMessageV3 implements KerberosConfigOrBuilder
Specifies Kerberos related configuration.Protobuf type
google.cloud.dataproc.v1.KerberosConfig
Modifier and Type | Class and Description |
---|---|
static class |
KerberosConfig.Builder
Specifies Kerberos related configuration.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
CROSS_REALM_TRUST_ADMIN_SERVER_FIELD_NUMBER |
static int |
CROSS_REALM_TRUST_KDC_FIELD_NUMBER |
static int |
CROSS_REALM_TRUST_REALM_FIELD_NUMBER |
static int |
CROSS_REALM_TRUST_SHARED_PASSWORD_URI_FIELD_NUMBER |
static int |
ENABLE_KERBEROS_FIELD_NUMBER |
static int |
KDC_DB_KEY_URI_FIELD_NUMBER |
static int |
KEY_PASSWORD_URI_FIELD_NUMBER |
static int |
KEYSTORE_PASSWORD_URI_FIELD_NUMBER |
static int |
KEYSTORE_URI_FIELD_NUMBER |
static int |
KMS_KEY_URI_FIELD_NUMBER |
static int |
REALM_FIELD_NUMBER |
static int |
ROOT_PRINCIPAL_PASSWORD_URI_FIELD_NUMBER |
static int |
TGT_LIFETIME_HOURS_FIELD_NUMBER |
static int |
TRUSTSTORE_PASSWORD_URI_FIELD_NUMBER |
static int |
TRUSTSTORE_URI_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int ENABLE_KERBEROS_FIELD_NUMBER
public static final int ROOT_PRINCIPAL_PASSWORD_URI_FIELD_NUMBER
public static final int KMS_KEY_URI_FIELD_NUMBER
public static final int KEYSTORE_URI_FIELD_NUMBER
public static final int TRUSTSTORE_URI_FIELD_NUMBER
public static final int KEYSTORE_PASSWORD_URI_FIELD_NUMBER
public static final int KEY_PASSWORD_URI_FIELD_NUMBER
public static final int TRUSTSTORE_PASSWORD_URI_FIELD_NUMBER
public static final int CROSS_REALM_TRUST_REALM_FIELD_NUMBER
public static final int CROSS_REALM_TRUST_KDC_FIELD_NUMBER
public static final int CROSS_REALM_TRUST_ADMIN_SERVER_FIELD_NUMBER
public static final int CROSS_REALM_TRUST_SHARED_PASSWORD_URI_FIELD_NUMBER
public static final int KDC_DB_KEY_URI_FIELD_NUMBER
public static final int TGT_LIFETIME_HOURS_FIELD_NUMBER
public static final int REALM_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
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];
getEnableKerberos
in interface KerberosConfigOrBuilder
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];
getRootPrincipalPasswordUri
in interface KerberosConfigOrBuilder
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];
getRootPrincipalPasswordUriBytes
in interface KerberosConfigOrBuilder
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];
getKmsKeyUri
in interface KerberosConfigOrBuilder
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];
getKmsKeyUriBytes
in interface KerberosConfigOrBuilder
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];
getKeystoreUri
in interface KerberosConfigOrBuilder
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];
getKeystoreUriBytes
in interface KerberosConfigOrBuilder
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];
getTruststoreUri
in interface KerberosConfigOrBuilder
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];
getTruststoreUriBytes
in interface KerberosConfigOrBuilder
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];
getKeystorePasswordUri
in interface KerberosConfigOrBuilder
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];
getKeystorePasswordUriBytes
in interface KerberosConfigOrBuilder
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];
getKeyPasswordUri
in interface KerberosConfigOrBuilder
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];
getKeyPasswordUriBytes
in interface KerberosConfigOrBuilder
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];
getTruststorePasswordUri
in interface KerberosConfigOrBuilder
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];
getTruststorePasswordUriBytes
in interface KerberosConfigOrBuilder
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];
getCrossRealmTrustRealm
in interface KerberosConfigOrBuilder
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];
getCrossRealmTrustRealmBytes
in interface KerberosConfigOrBuilder
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];
getCrossRealmTrustKdc
in interface KerberosConfigOrBuilder
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];
getCrossRealmTrustKdcBytes
in interface KerberosConfigOrBuilder
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];
getCrossRealmTrustAdminServer
in interface KerberosConfigOrBuilder
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];
getCrossRealmTrustAdminServerBytes
in interface KerberosConfigOrBuilder
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];
getCrossRealmTrustSharedPasswordUri
in interface KerberosConfigOrBuilder
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];
getCrossRealmTrustSharedPasswordUriBytes
in interface KerberosConfigOrBuilder
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];
getKdcDbKeyUri
in interface KerberosConfigOrBuilder
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];
getKdcDbKeyUriBytes
in interface KerberosConfigOrBuilder
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];
getTgtLifetimeHours
in interface KerberosConfigOrBuilder
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];
getRealm
in interface KerberosConfigOrBuilder
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];
getRealmBytes
in interface KerberosConfigOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static KerberosConfig parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static KerberosConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static KerberosConfig parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static KerberosConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static KerberosConfig parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static KerberosConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static KerberosConfig parseFrom(InputStream input) throws IOException
IOException
public static KerberosConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KerberosConfig parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KerberosConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KerberosConfig parseFrom(CodedInputStream input) throws IOException
IOException
public static KerberosConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public KerberosConfig.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static KerberosConfig.Builder newBuilder()
public static KerberosConfig.Builder newBuilder(KerberosConfig prototype)
public KerberosConfig.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected KerberosConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static KerberosConfig getDefaultInstance()
public static Parser<KerberosConfig> parser()
public Parser<KerberosConfig> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public KerberosConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.