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 TypeMethodDescriptionbuild()clear()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.Descriptorcom.google.protobuf.Descriptors.DescriptorA 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.ByteStringA 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.ByteStringA Kerberos principal that exists in the both the keytab the KDC to authenticate as.booleanA Kerberos keytab file that can be used to authenticate a service principal with a Kerberos Key Distribution Center (KDC).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(KerberosConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeKeytab(Secret value) 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).setKrb5ConfigGcsUri(String value) 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.setPrincipal(String value) 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<KerberosConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<KerberosConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<KerberosConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<KerberosConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasKeytabin interfaceKerberosConfigOrBuilder- Returns:
- Whether the keytab field is set.
-
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:
getKeytabin interfaceKerberosConfigOrBuilder- Returns:
- The keytab.
-
setKeytab
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
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
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
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
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
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:
getKeytabOrBuilderin interfaceKerberosConfigOrBuilder
-
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:
getPrincipalin interfaceKerberosConfigOrBuilder- 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:
getPrincipalBytesin interfaceKerberosConfigOrBuilder- Returns:
- The bytes for principal.
-
setPrincipal
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
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
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
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:
getKrb5ConfigGcsUriin interfaceKerberosConfigOrBuilder- 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:
getKrb5ConfigGcsUriBytesin interfaceKerberosConfigOrBuilder- Returns:
- The bytes for krb5ConfigGcsUri.
-
setKrb5ConfigGcsUri
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
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
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.
-