public static final class KerberosConfig.Builder extends GeneratedMessageV3.Builder<KerberosConfig.Builder> implements KerberosConfigOrBuilder
Configuration information for a Kerberos principal.
Protobuf type google.cloud.metastore.v1alpha.KerberosConfig
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public KerberosConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public KerberosConfig build()
Returns
public KerberosConfig buildPartial()
Returns
public KerberosConfig.Builder clear()
Returns
Overrides
public KerberosConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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.v1alpha.Secret keytab = 1;
Returns
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
public KerberosConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public KerberosConfig.Builder clone()
Returns
Overrides
public KerberosConfig getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.v1alpha.Secret keytab = 1;
Returns
Type | Description |
Secret | The keytab.
|
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.v1alpha.Secret keytab = 1;
Returns
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.v1alpha.Secret keytab = 1;
Returns
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.
|
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.
|
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.
|
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
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.v1alpha.Secret keytab = 1;
Returns
Type | Description |
boolean | Whether the keytab field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public KerberosConfig.Builder mergeFrom(KerberosConfig other)
Parameter
Returns
public KerberosConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public KerberosConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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.v1alpha.Secret keytab = 1;
Parameter
Returns
public final KerberosConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public KerberosConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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.v1alpha.Secret keytab = 1;
Parameter
Returns
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.v1alpha.Secret keytab = 1;
Parameter
Returns
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
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
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
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
public KerberosConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final KerberosConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides