public static final class KerberosConfig.Builder extends GeneratedMessage.Builder<KerberosConfig.Builder> implements KerberosConfigOrBuilderConfiguration information for a Kerberos principal.
Protobuf type google.cloud.metastore.v1.KerberosConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > KerberosConfig.BuilderImplements
KerberosConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public KerberosConfig build()| Returns | |
|---|---|
| Type | Description |
KerberosConfig |
|
buildPartial()
public KerberosConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
KerberosConfig |
|
clear()
public KerberosConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
|
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.v1.Secret keytab = 1;
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
|
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 | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
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 | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public KerberosConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
KerberosConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1.Secret keytab = 1;
| Returns | |
|---|---|
| Type | Description |
Secret |
The keytab. |
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.v1.Secret keytab = 1;
| Returns | |
|---|---|
| Type | Description |
Secret.Builder |
|
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.v1.Secret keytab = 1;
| Returns | |
|---|---|
| Type | Description |
SecretOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
String |
The krb5ConfigGcsUri. |
getKrb5ConfigGcsUriBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for krb5ConfigGcsUri. |
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;
| Returns | |
|---|---|
| Type | Description |
String |
The principal. |
getPrincipalBytes()
public 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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for principal. |
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.v1.Secret keytab = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keytab field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(KerberosConfig other)
public KerberosConfig.Builder mergeFrom(KerberosConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
KerberosConfig |
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KerberosConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public KerberosConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
|
mergeKeytab(Secret value)
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.v1.Secret keytab = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Secret |
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
|
setKeytab(Secret value)
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.v1.Secret keytab = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Secret |
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
|
setKeytab(Secret.Builder builderForValue)
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.v1.Secret keytab = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Secret.Builder |
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
|
setKrb5ConfigGcsUri(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe krb5ConfigGcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
This builder for chaining. |
setKrb5ConfigGcsUriBytes(ByteString value)
public KerberosConfig.Builder setKrb5ConfigGcsUriBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for krb5ConfigGcsUri to set. |
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
This builder for chaining. |
setPrincipal(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe principal to set. |
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
This builder for chaining. |
setPrincipalBytes(ByteString value)
public KerberosConfig.Builder setPrincipalBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for principal to set. |
| Returns | |
|---|---|
| Type | Description |
KerberosConfig.Builder |
This builder for chaining. |