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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public KerberosConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public KerberosConfig build()
public KerberosConfig buildPartial()
public KerberosConfig.Builder clear()
Overrides
public KerberosConfig.Builder clearField(Descriptors.FieldDescriptor field)
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;
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;
public KerberosConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
public KerberosConfig.Builder clone()
Overrides
public KerberosConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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 |
---|
Type | Description |
ByteString | The bytes for principal.
|
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()
Overrides
public final boolean isInitialized()
Overrides
public KerberosConfig.Builder mergeFrom(KerberosConfig other)
public KerberosConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public KerberosConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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 |
---|
Name | Description |
value | Secret
|
public final KerberosConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public KerberosConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
---|
Name | Description |
value | Secret
|
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;
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.
|
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.
|
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.
|
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.
|
public KerberosConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final KerberosConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides