Class KerberosConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<KerberosConfig.Builder>
com.google.cloud.metastore.v1beta.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.GeneratedMessage.Builder<KerberosConfig.Builder> implements KerberosConfigOrBuilder
 Configuration information for a Kerberos principal.
 
Protobuf type google.cloud.metastore.v1beta.KerberosConfig
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
    A Cloud Storage URI that specifies the path to a krb5.conf file.
    A Kerberos principal that exists in the both the keytab the KDC to authenticate as.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
    A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
    A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
    A Cloud Storage URI that specifies the path to a krb5.conf file.
    com.google.protobuf.ByteString
    A Cloud Storage URI that specifies the path to a krb5.conf file.
    A Kerberos principal that exists in the both the keytab the KDC to authenticate as.
    com.google.protobuf.ByteString
    A Kerberos principal that exists in the both the keytab the KDC to authenticate as.
    boolean
    A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
    A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
    setKeytab(Secret.Builder builderForValue)
    A Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).
    A Cloud Storage URI that specifies the path to a krb5.conf file.
    setKrb5ConfigGcsUriBytes(com.google.protobuf.ByteString value)
    A Cloud Storage URI that specifies the path to a krb5.conf file.
    A Kerberos principal that exists in the both the keytab the KDC to authenticate as.
    setPrincipalBytes(com.google.protobuf.ByteString value)
    A Kerberos principal that exists in the both the keytab the KDC to authenticate as.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public KerberosConfig.Builder mergeFrom(KerberosConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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
    • hasKeytab

      public boolean hasKeytab()
       A Kerberos keytab file that can be used to authenticate a service principal
       with a Kerberos Key Distribution Center (KDC).
       
      .google.cloud.metastore.v1beta.Secret keytab = 1;
      Specified by:
      hasKeytab in interface KerberosConfigOrBuilder
      Returns:
      Whether the keytab field is set.
    • getKeytab

      public Secret getKeytab()
       A Kerberos keytab file that can be used to authenticate a service principal
       with a Kerberos Key Distribution Center (KDC).
       
      .google.cloud.metastore.v1beta.Secret keytab = 1;
      Specified by:
      getKeytab in interface KerberosConfigOrBuilder
      Returns:
      The keytab.
    • setKeytab

      public KerberosConfig.Builder setKeytab(Secret value)
       A Kerberos keytab file that can be used to authenticate a service principal
       with a Kerberos Key Distribution Center (KDC).
       
      .google.cloud.metastore.v1beta.Secret keytab = 1;
    • setKeytab

      public KerberosConfig.Builder setKeytab(Secret.Builder builderForValue)
       A Kerberos keytab file that can be used to authenticate a service principal
       with a Kerberos Key Distribution Center (KDC).
       
      .google.cloud.metastore.v1beta.Secret keytab = 1;
    • mergeKeytab

      public KerberosConfig.Builder mergeKeytab(Secret value)
       A Kerberos keytab file that can be used to authenticate a service principal
       with a Kerberos Key Distribution Center (KDC).
       
      .google.cloud.metastore.v1beta.Secret keytab = 1;
    • clearKeytab

      public KerberosConfig.Builder clearKeytab()
       A Kerberos keytab file that can be used to authenticate a service principal
       with a Kerberos Key Distribution Center (KDC).
       
      .google.cloud.metastore.v1beta.Secret keytab = 1;
    • getKeytabBuilder

      public Secret.Builder getKeytabBuilder()
       A Kerberos keytab file that can be used to authenticate a service principal
       with a Kerberos Key Distribution Center (KDC).
       
      .google.cloud.metastore.v1beta.Secret keytab = 1;
    • getKeytabOrBuilder

      public SecretOrBuilder getKeytabOrBuilder()
       A Kerberos keytab file that can be used to authenticate a service principal
       with a Kerberos Key Distribution Center (KDC).
       
      .google.cloud.metastore.v1beta.Secret keytab = 1;
      Specified by:
      getKeytabOrBuilder in interface KerberosConfigOrBuilder
    • getPrincipal

      public String getPrincipal()
       A Kerberos principal that exists in the both the keytab the KDC
       to authenticate as. A typical principal is of the form
       `primary/instance@REALM`, but there is no exact format.
       
      string principal = 2;
      Specified by:
      getPrincipal in interface KerberosConfigOrBuilder
      Returns:
      The principal.
    • getPrincipalBytes

      public com.google.protobuf.ByteString getPrincipalBytes()
       A Kerberos principal that exists in the both the keytab the KDC
       to authenticate as. A typical principal is of the form
       `primary/instance@REALM`, but there is no exact format.
       
      string principal = 2;
      Specified by:
      getPrincipalBytes in interface KerberosConfigOrBuilder
      Returns:
      The bytes for principal.
    • setPrincipal

      public KerberosConfig.Builder setPrincipal(String value)
       A Kerberos principal that exists in the both the keytab the KDC
       to authenticate as. A typical principal is of the form
       `primary/instance@REALM`, but there is no exact format.
       
      string principal = 2;
      Parameters:
      value - The principal to set.
      Returns:
      This builder for chaining.
    • clearPrincipal

      public KerberosConfig.Builder clearPrincipal()
       A Kerberos principal that exists in the both the keytab the KDC
       to authenticate as. A typical principal is of the form
       `primary/instance@REALM`, but there is no exact format.
       
      string principal = 2;
      Returns:
      This builder for chaining.
    • setPrincipalBytes

      public KerberosConfig.Builder setPrincipalBytes(com.google.protobuf.ByteString value)
       A Kerberos principal that exists in the both the keytab the KDC
       to authenticate as. A typical principal is of the form
       `primary/instance@REALM`, but there is no exact format.
       
      string principal = 2;
      Parameters:
      value - The bytes for principal to set.
      Returns:
      This builder for chaining.
    • getKrb5ConfigGcsUri

      public String getKrb5ConfigGcsUri()
       A Cloud Storage URI that specifies the path to a
       krb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`,
       although the file does not need to be named krb5.conf explicitly.
       
      string krb5_config_gcs_uri = 3;
      Specified by:
      getKrb5ConfigGcsUri in interface KerberosConfigOrBuilder
      Returns:
      The krb5ConfigGcsUri.
    • getKrb5ConfigGcsUriBytes

      public com.google.protobuf.ByteString getKrb5ConfigGcsUriBytes()
       A Cloud Storage URI that specifies the path to a
       krb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`,
       although the file does not need to be named krb5.conf explicitly.
       
      string krb5_config_gcs_uri = 3;
      Specified by:
      getKrb5ConfigGcsUriBytes in interface KerberosConfigOrBuilder
      Returns:
      The bytes for krb5ConfigGcsUri.
    • setKrb5ConfigGcsUri

      public KerberosConfig.Builder setKrb5ConfigGcsUri(String value)
       A Cloud Storage URI that specifies the path to a
       krb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`,
       although the file does not need to be named krb5.conf explicitly.
       
      string krb5_config_gcs_uri = 3;
      Parameters:
      value - The krb5ConfigGcsUri to set.
      Returns:
      This builder for chaining.
    • clearKrb5ConfigGcsUri

      public KerberosConfig.Builder clearKrb5ConfigGcsUri()
       A Cloud Storage URI that specifies the path to a
       krb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`,
       although the file does not need to be named krb5.conf explicitly.
       
      string krb5_config_gcs_uri = 3;
      Returns:
      This builder for chaining.
    • setKrb5ConfigGcsUriBytes

      public KerberosConfig.Builder setKrb5ConfigGcsUriBytes(com.google.protobuf.ByteString value)
       A Cloud Storage URI that specifies the path to a
       krb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`,
       although the file does not need to be named krb5.conf explicitly.
       
      string krb5_config_gcs_uri = 3;
      Parameters:
      value - The bytes for krb5ConfigGcsUri to set.
      Returns:
      This builder for chaining.