Class KerberosConfig.Builder

  • All Implemented Interfaces:
    KerberosConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    KerberosConfig

    public static final class KerberosConfig.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
    implements KerberosConfigOrBuilder
     Specifies Kerberos related configuration.
     
    Protobuf type google.cloud.dataproc.v1.KerberosConfig
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • clear

        public KerberosConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • getDefaultInstanceForType

        public KerberosConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public KerberosConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public KerberosConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public KerberosConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • setField

        public KerberosConfig.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • clearField

        public KerberosConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • clearOneof

        public KerberosConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • setRepeatedField

        public KerberosConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       int index,
                                                       Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • addRepeatedField

        public KerberosConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                       Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • mergeFrom

        public KerberosConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<KerberosConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • mergeFrom

        public KerberosConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<KerberosConfig.Builder>
        Throws:
        IOException
      • 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];
        Specified by:
        getEnableKerberos in interface KerberosConfigOrBuilder
        Returns:
        The enableKerberos.
      • setEnableKerberos

        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];
        Parameters:
        value - The enableKerberos to set.
        Returns:
        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:
        This builder for chaining.
      • 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];
        Specified by:
        getRootPrincipalPasswordUri in interface KerberosConfigOrBuilder
        Returns:
        The rootPrincipalPasswordUri.
      • getRootPrincipalPasswordUriBytes

        public 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];
        Specified by:
        getRootPrincipalPasswordUriBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for rootPrincipalPasswordUri.
      • setRootPrincipalPasswordUri

        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];
        Parameters:
        value - The rootPrincipalPasswordUri to set.
        Returns:
        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:
        This builder for chaining.
      • setRootPrincipalPasswordUriBytes

        public KerberosConfig.Builder setRootPrincipalPasswordUriBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for rootPrincipalPasswordUri to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getKmsKeyUri in interface KerberosConfigOrBuilder
        Returns:
        The kmsKeyUri.
      • getKmsKeyUriBytes

        public 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];
        Specified by:
        getKmsKeyUriBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for kmsKeyUri.
      • setKmsKeyUri

        public KerberosConfig.Builder setKmsKeyUri​(String value)
         Optional. The uri of the KMS key used to encrypt various sensitive
         files.
         
        string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The kmsKeyUri to set.
        Returns:
        This builder for chaining.
      • clearKmsKeyUri

        public KerberosConfig.Builder clearKmsKeyUri()
         Optional. The uri of the KMS key used to encrypt various sensitive
         files.
         
        string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setKmsKeyUriBytes

        public KerberosConfig.Builder setKmsKeyUriBytes​(com.google.protobuf.ByteString value)
         Optional. The uri of the KMS key used to encrypt various sensitive
         files.
         
        string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for kmsKeyUri to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getKeystoreUri in interface KerberosConfigOrBuilder
        Returns:
        The keystoreUri.
      • getKeystoreUriBytes

        public 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];
        Specified by:
        getKeystoreUriBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for keystoreUri.
      • setKeystoreUri

        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];
        Parameters:
        value - The keystoreUri to set.
        Returns:
        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:
        This builder for chaining.
      • setKeystoreUriBytes

        public KerberosConfig.Builder setKeystoreUriBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for keystoreUri to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getTruststoreUri in interface KerberosConfigOrBuilder
        Returns:
        The truststoreUri.
      • getTruststoreUriBytes

        public 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];
        Specified by:
        getTruststoreUriBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for truststoreUri.
      • setTruststoreUri

        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];
        Parameters:
        value - The truststoreUri to set.
        Returns:
        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:
        This builder for chaining.
      • setTruststoreUriBytes

        public KerberosConfig.Builder setTruststoreUriBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for truststoreUri to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getKeystorePasswordUri in interface KerberosConfigOrBuilder
        Returns:
        The keystorePasswordUri.
      • getKeystorePasswordUriBytes

        public 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];
        Specified by:
        getKeystorePasswordUriBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for keystorePasswordUri.
      • setKeystorePasswordUri

        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];
        Parameters:
        value - The keystorePasswordUri to set.
        Returns:
        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:
        This builder for chaining.
      • setKeystorePasswordUriBytes

        public KerberosConfig.Builder setKeystorePasswordUriBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for keystorePasswordUri to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getKeyPasswordUri in interface KerberosConfigOrBuilder
        Returns:
        The keyPasswordUri.
      • getKeyPasswordUriBytes

        public 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];
        Specified by:
        getKeyPasswordUriBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for keyPasswordUri.
      • setKeyPasswordUri

        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];
        Parameters:
        value - The keyPasswordUri to set.
        Returns:
        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:
        This builder for chaining.
      • setKeyPasswordUriBytes

        public KerberosConfig.Builder setKeyPasswordUriBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for keyPasswordUri to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getTruststorePasswordUri in interface KerberosConfigOrBuilder
        Returns:
        The truststorePasswordUri.
      • getTruststorePasswordUriBytes

        public 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];
        Specified by:
        getTruststorePasswordUriBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for truststorePasswordUri.
      • setTruststorePasswordUri

        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];
        Parameters:
        value - The truststorePasswordUri to set.
        Returns:
        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:
        This builder for chaining.
      • setTruststorePasswordUriBytes

        public KerberosConfig.Builder setTruststorePasswordUriBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for truststorePasswordUri to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getCrossRealmTrustRealm in interface KerberosConfigOrBuilder
        Returns:
        The crossRealmTrustRealm.
      • getCrossRealmTrustRealmBytes

        public 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];
        Specified by:
        getCrossRealmTrustRealmBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for crossRealmTrustRealm.
      • setCrossRealmTrustRealm

        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];
        Parameters:
        value - The crossRealmTrustRealm to set.
        Returns:
        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:
        This builder for chaining.
      • setCrossRealmTrustRealmBytes

        public KerberosConfig.Builder setCrossRealmTrustRealmBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for crossRealmTrustRealm to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getCrossRealmTrustKdc in interface KerberosConfigOrBuilder
        Returns:
        The crossRealmTrustKdc.
      • getCrossRealmTrustKdcBytes

        public 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];
        Specified by:
        getCrossRealmTrustKdcBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for crossRealmTrustKdc.
      • setCrossRealmTrustKdc

        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];
        Parameters:
        value - The crossRealmTrustKdc to set.
        Returns:
        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:
        This builder for chaining.
      • setCrossRealmTrustKdcBytes

        public KerberosConfig.Builder setCrossRealmTrustKdcBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for crossRealmTrustKdc to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getCrossRealmTrustAdminServer in interface KerberosConfigOrBuilder
        Returns:
        The crossRealmTrustAdminServer.
      • getCrossRealmTrustAdminServerBytes

        public 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];
        Specified by:
        getCrossRealmTrustAdminServerBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for crossRealmTrustAdminServer.
      • setCrossRealmTrustAdminServer

        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];
        Parameters:
        value - The crossRealmTrustAdminServer to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setCrossRealmTrustAdminServerBytes

        public KerberosConfig.Builder setCrossRealmTrustAdminServerBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for crossRealmTrustAdminServer to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getCrossRealmTrustSharedPasswordUri in interface KerberosConfigOrBuilder
        Returns:
        The crossRealmTrustSharedPasswordUri.
      • getCrossRealmTrustSharedPasswordUriBytes

        public 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];
        Specified by:
        getCrossRealmTrustSharedPasswordUriBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for crossRealmTrustSharedPasswordUri.
      • setCrossRealmTrustSharedPasswordUri

        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];
        Parameters:
        value - The crossRealmTrustSharedPasswordUri to set.
        Returns:
        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:
        This builder for chaining.
      • setCrossRealmTrustSharedPasswordUriBytes

        public KerberosConfig.Builder setCrossRealmTrustSharedPasswordUriBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for crossRealmTrustSharedPasswordUri to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getKdcDbKeyUri in interface KerberosConfigOrBuilder
        Returns:
        The kdcDbKeyUri.
      • getKdcDbKeyUriBytes

        public 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];
        Specified by:
        getKdcDbKeyUriBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for kdcDbKeyUri.
      • setKdcDbKeyUri

        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];
        Parameters:
        value - The kdcDbKeyUri to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setKdcDbKeyUriBytes

        public KerberosConfig.Builder setKdcDbKeyUriBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for kdcDbKeyUri to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getTgtLifetimeHours in interface KerberosConfigOrBuilder
        Returns:
        The tgtLifetimeHours.
      • setTgtLifetimeHours

        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];
        Parameters:
        value - The tgtLifetimeHours to set.
        Returns:
        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:
        This builder for chaining.
      • 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];
        Specified by:
        getRealm in interface KerberosConfigOrBuilder
        Returns:
        The realm.
      • getRealmBytes

        public 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];
        Specified by:
        getRealmBytes in interface KerberosConfigOrBuilder
        Returns:
        The bytes for realm.
      • setRealm

        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];
        Parameters:
        value - The realm to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setRealmBytes

        public KerberosConfig.Builder setRealmBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for realm to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final KerberosConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
      • mergeUnknownFields

        public final KerberosConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>