Class KerberosConfig.Builder (2.47.0)

public static final class KerberosConfig.Builder extends GeneratedMessageV3.Builder<KerberosConfig.Builder> implements KerberosConfigOrBuilder

Configuration information for a Kerberos principal.

Protobuf type google.cloud.metastore.v1beta.KerberosConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public KerberosConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
KerberosConfig.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public KerberosConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
KerberosConfig.Builder
Overrides

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;

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public KerberosConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
KerberosConfig.Builder
Overrides

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.

clone()

public KerberosConfig.Builder clone()
Returns
Type Description
KerberosConfig.Builder
Overrides

getDefaultInstanceForType()

public KerberosConfig getDefaultInstanceForType()
Returns
Type Description
KerberosConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

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.v1beta.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.v1beta.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.v1beta.Secret keytab = 1;

Returns
Type Description
boolean

Whether the keytab field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public KerberosConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
KerberosConfig.Builder
Overrides

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.v1beta.Secret keytab = 1;

Parameter
Name Description
value Secret
Returns
Type Description
KerberosConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final KerberosConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
KerberosConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public KerberosConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
KerberosConfig.Builder
Overrides

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.v1beta.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.v1beta.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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for principal to set.

Returns
Type Description
KerberosConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public KerberosConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
KerberosConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final KerberosConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
KerberosConfig.Builder
Overrides