public final class KerberosConfig extends com.google.protobuf.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.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCrossRealmTrustAdminServer()
Optional.
|
com.google.protobuf.ByteString |
getCrossRealmTrustAdminServerBytes()
Optional.
|
String |
getCrossRealmTrustKdc()
Optional.
|
com.google.protobuf.ByteString |
getCrossRealmTrustKdcBytes()
Optional.
|
String |
getCrossRealmTrustRealm()
Optional.
|
com.google.protobuf.ByteString |
getCrossRealmTrustRealmBytes()
Optional.
|
String |
getCrossRealmTrustSharedPasswordUri()
Optional.
|
com.google.protobuf.ByteString |
getCrossRealmTrustSharedPasswordUriBytes()
Optional.
|
static KerberosConfig |
getDefaultInstance() |
KerberosConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEnableKerberos()
Optional.
|
String |
getKdcDbKeyUri()
Optional.
|
com.google.protobuf.ByteString |
getKdcDbKeyUriBytes()
Optional.
|
String |
getKeyPasswordUri()
Optional.
|
com.google.protobuf.ByteString |
getKeyPasswordUriBytes()
Optional.
|
String |
getKeystorePasswordUri()
Optional.
|
com.google.protobuf.ByteString |
getKeystorePasswordUriBytes()
Optional.
|
String |
getKeystoreUri()
Optional.
|
com.google.protobuf.ByteString |
getKeystoreUriBytes()
Optional.
|
String |
getKmsKeyUri()
Optional.
|
com.google.protobuf.ByteString |
getKmsKeyUriBytes()
Optional.
|
com.google.protobuf.Parser<KerberosConfig> |
getParserForType() |
String |
getRealm()
Optional.
|
com.google.protobuf.ByteString |
getRealmBytes()
Optional.
|
String |
getRootPrincipalPasswordUri()
Optional.
|
com.google.protobuf.ByteString |
getRootPrincipalPasswordUriBytes()
Optional.
|
int |
getSerializedSize() |
int |
getTgtLifetimeHours()
Optional.
|
String |
getTruststorePasswordUri()
Optional.
|
com.google.protobuf.ByteString |
getTruststorePasswordUriBytes()
Optional.
|
String |
getTruststoreUri()
Optional.
|
com.google.protobuf.ByteString |
getTruststoreUriBytes()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KerberosConfig.Builder |
newBuilder() |
static KerberosConfig.Builder |
newBuilder(KerberosConfig prototype) |
KerberosConfig.Builder |
newBuilderForType() |
protected KerberosConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static KerberosConfig |
parseDelimitedFrom(InputStream input) |
static KerberosConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KerberosConfig |
parseFrom(byte[] data) |
static KerberosConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KerberosConfig |
parseFrom(ByteBuffer data) |
static KerberosConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KerberosConfig |
parseFrom(com.google.protobuf.ByteString data) |
static KerberosConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KerberosConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KerberosConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KerberosConfig |
parseFrom(InputStream input) |
static KerberosConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<KerberosConfig> |
parser() |
KerberosConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic 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 KerberosConfigOrBuilderpublic com.google.protobuf.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 KerberosConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static KerberosConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KerberosConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KerberosConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KerberosConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KerberosConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KerberosConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KerberosConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static KerberosConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KerberosConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KerberosConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KerberosConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KerberosConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic KerberosConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KerberosConfig.Builder newBuilder()
public static KerberosConfig.Builder newBuilder(KerberosConfig prototype)
public KerberosConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KerberosConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static KerberosConfig getDefaultInstance()
public static com.google.protobuf.Parser<KerberosConfig> parser()
public com.google.protobuf.Parser<KerberosConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public KerberosConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.