Package com.google.cloud.dataproc.v1
Class KerberosConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
- com.google.cloud.dataproc.v1.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.GeneratedMessageV3.Builder<KerberosConfig.Builder> implements KerberosConfigOrBuilder
Specifies Kerberos related configuration.
Protobuf typegoogle.cloud.dataproc.v1.KerberosConfig
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
clear
public KerberosConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
getDefaultInstanceForType
public KerberosConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public KerberosConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public KerberosConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public KerberosConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
setField
public KerberosConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
clearField
public KerberosConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
clearOneof
public KerberosConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
setRepeatedField
public KerberosConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
addRepeatedField
public KerberosConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
mergeFrom
public KerberosConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<KerberosConfig.Builder>
-
mergeFrom
public KerberosConfig.Builder mergeFrom(KerberosConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
mergeFrom
public KerberosConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<KerberosConfig.Builder>
- Throws:
IOException
-
getEnableKerberos
public boolean getEnableKerberos()
Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.
bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEnableKerberos
in interfaceKerberosConfigOrBuilder
- Returns:
- The enableKerberos.
-
setEnableKerberos
public KerberosConfig.Builder setEnableKerberos(boolean value)
Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.
bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The enableKerberos to set.- Returns:
- This builder for chaining.
-
clearEnableKerberos
public KerberosConfig.Builder clearEnableKerberos()
Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster.
bool enable_kerberos = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
getRootPrincipalPasswordUri
public String getRootPrincipalPasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRootPrincipalPasswordUri
in interfaceKerberosConfigOrBuilder
- Returns:
- The rootPrincipalPasswordUri.
-
getRootPrincipalPasswordUriBytes
public com.google.protobuf.ByteString getRootPrincipalPasswordUriBytes()
Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRootPrincipalPasswordUriBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for rootPrincipalPasswordUri.
-
setRootPrincipalPasswordUri
public KerberosConfig.Builder setRootPrincipalPasswordUri(String value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The rootPrincipalPasswordUri to set.- Returns:
- This builder for chaining.
-
clearRootPrincipalPasswordUri
public KerberosConfig.Builder clearRootPrincipalPasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setRootPrincipalPasswordUriBytes
public KerberosConfig.Builder setRootPrincipalPasswordUriBytes(com.google.protobuf.ByteString value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password.
string root_principal_password_uri = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for rootPrincipalPasswordUri to set.- Returns:
- This builder for chaining.
-
getKmsKeyUri
public String getKmsKeyUri()
Optional. The uri of the KMS key used to encrypt various sensitive files.
string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKmsKeyUri
in interfaceKerberosConfigOrBuilder
- Returns:
- The kmsKeyUri.
-
getKmsKeyUriBytes
public com.google.protobuf.ByteString getKmsKeyUriBytes()
Optional. The uri of the KMS key used to encrypt various sensitive files.
string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKmsKeyUriBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for kmsKeyUri.
-
setKmsKeyUri
public KerberosConfig.Builder setKmsKeyUri(String value)
Optional. The uri of the KMS key used to encrypt various sensitive files.
string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The kmsKeyUri to set.- Returns:
- This builder for chaining.
-
clearKmsKeyUri
public KerberosConfig.Builder clearKmsKeyUri()
Optional. The uri of the KMS key used to encrypt various sensitive files.
string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setKmsKeyUriBytes
public KerberosConfig.Builder setKmsKeyUriBytes(com.google.protobuf.ByteString value)
Optional. The uri of the KMS key used to encrypt various sensitive files.
string kms_key_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for kmsKeyUri to set.- Returns:
- This builder for chaining.
-
getKeystoreUri
public String getKeystoreUri()
Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeystoreUri
in interfaceKerberosConfigOrBuilder
- Returns:
- The keystoreUri.
-
getKeystoreUriBytes
public com.google.protobuf.ByteString getKeystoreUriBytes()
Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeystoreUriBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for keystoreUri.
-
setKeystoreUri
public KerberosConfig.Builder setKeystoreUri(String value)
Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The keystoreUri to set.- Returns:
- This builder for chaining.
-
clearKeystoreUri
public KerberosConfig.Builder clearKeystoreUri()
Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setKeystoreUriBytes
public KerberosConfig.Builder setKeystoreUriBytes(com.google.protobuf.ByteString value)
Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
string keystore_uri = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for keystoreUri to set.- Returns:
- This builder for chaining.
-
getTruststoreUri
public String getTruststoreUri()
Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTruststoreUri
in interfaceKerberosConfigOrBuilder
- Returns:
- The truststoreUri.
-
getTruststoreUriBytes
public com.google.protobuf.ByteString getTruststoreUriBytes()
Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTruststoreUriBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for truststoreUri.
-
setTruststoreUri
public KerberosConfig.Builder setTruststoreUri(String value)
Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The truststoreUri to set.- Returns:
- This builder for chaining.
-
clearTruststoreUri
public KerberosConfig.Builder clearTruststoreUri()
Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setTruststoreUriBytes
public KerberosConfig.Builder setTruststoreUriBytes(com.google.protobuf.ByteString value)
Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate.
string truststore_uri = 5 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for truststoreUri to set.- Returns:
- This builder for chaining.
-
getKeystorePasswordUri
public String getKeystorePasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.
string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeystorePasswordUri
in interfaceKerberosConfigOrBuilder
- Returns:
- The keystorePasswordUri.
-
getKeystorePasswordUriBytes
public com.google.protobuf.ByteString getKeystorePasswordUriBytes()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.
string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeystorePasswordUriBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for keystorePasswordUri.
-
setKeystorePasswordUri
public KerberosConfig.Builder setKeystorePasswordUri(String value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.
string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The keystorePasswordUri to set.- Returns:
- This builder for chaining.
-
clearKeystorePasswordUri
public KerberosConfig.Builder clearKeystorePasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.
string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setKeystorePasswordUriBytes
public KerberosConfig.Builder setKeystorePasswordUriBytes(com.google.protobuf.ByteString value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc.
string keystore_password_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for keystorePasswordUri to set.- Returns:
- This builder for chaining.
-
getKeyPasswordUri
public String getKeyPasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.
string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeyPasswordUri
in interfaceKerberosConfigOrBuilder
- Returns:
- The keyPasswordUri.
-
getKeyPasswordUriBytes
public com.google.protobuf.ByteString getKeyPasswordUriBytes()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.
string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKeyPasswordUriBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for keyPasswordUri.
-
setKeyPasswordUri
public KerberosConfig.Builder setKeyPasswordUri(String value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.
string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The keyPasswordUri to set.- Returns:
- This builder for chaining.
-
clearKeyPasswordUri
public KerberosConfig.Builder clearKeyPasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.
string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setKeyPasswordUriBytes
public KerberosConfig.Builder setKeyPasswordUriBytes(com.google.protobuf.ByteString value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc.
string key_password_uri = 7 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for keyPasswordUri to set.- Returns:
- This builder for chaining.
-
getTruststorePasswordUri
public String getTruststorePasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.
string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTruststorePasswordUri
in interfaceKerberosConfigOrBuilder
- Returns:
- The truststorePasswordUri.
-
getTruststorePasswordUriBytes
public com.google.protobuf.ByteString getTruststorePasswordUriBytes()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.
string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTruststorePasswordUriBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for truststorePasswordUri.
-
setTruststorePasswordUri
public KerberosConfig.Builder setTruststorePasswordUri(String value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.
string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The truststorePasswordUri to set.- Returns:
- This builder for chaining.
-
clearTruststorePasswordUri
public KerberosConfig.Builder clearTruststorePasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.
string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setTruststorePasswordUriBytes
public KerberosConfig.Builder setTruststorePasswordUriBytes(com.google.protobuf.ByteString value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc.
string truststore_password_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for truststorePasswordUri to set.- Returns:
- This builder for chaining.
-
getCrossRealmTrustRealm
public String getCrossRealmTrustRealm()
Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCrossRealmTrustRealm
in interfaceKerberosConfigOrBuilder
- Returns:
- The crossRealmTrustRealm.
-
getCrossRealmTrustRealmBytes
public com.google.protobuf.ByteString getCrossRealmTrustRealmBytes()
Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCrossRealmTrustRealmBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for crossRealmTrustRealm.
-
setCrossRealmTrustRealm
public KerberosConfig.Builder setCrossRealmTrustRealm(String value)
Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The crossRealmTrustRealm to set.- Returns:
- This builder for chaining.
-
clearCrossRealmTrustRealm
public KerberosConfig.Builder clearCrossRealmTrustRealm()
Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setCrossRealmTrustRealmBytes
public KerberosConfig.Builder setCrossRealmTrustRealmBytes(com.google.protobuf.ByteString value)
Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust.
string cross_realm_trust_realm = 9 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for crossRealmTrustRealm to set.- Returns:
- This builder for chaining.
-
getCrossRealmTrustKdc
public String getCrossRealmTrustKdc()
Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCrossRealmTrustKdc
in interfaceKerberosConfigOrBuilder
- Returns:
- The crossRealmTrustKdc.
-
getCrossRealmTrustKdcBytes
public com.google.protobuf.ByteString getCrossRealmTrustKdcBytes()
Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCrossRealmTrustKdcBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for crossRealmTrustKdc.
-
setCrossRealmTrustKdc
public KerberosConfig.Builder setCrossRealmTrustKdc(String value)
Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The crossRealmTrustKdc to set.- Returns:
- This builder for chaining.
-
clearCrossRealmTrustKdc
public KerberosConfig.Builder clearCrossRealmTrustKdc()
Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setCrossRealmTrustKdcBytes
public KerberosConfig.Builder setCrossRealmTrustKdcBytes(com.google.protobuf.ByteString value)
Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
string cross_realm_trust_kdc = 10 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for crossRealmTrustKdc to set.- Returns:
- This builder for chaining.
-
getCrossRealmTrustAdminServer
public String getCrossRealmTrustAdminServer()
Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCrossRealmTrustAdminServer
in interfaceKerberosConfigOrBuilder
- Returns:
- The crossRealmTrustAdminServer.
-
getCrossRealmTrustAdminServerBytes
public com.google.protobuf.ByteString getCrossRealmTrustAdminServerBytes()
Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCrossRealmTrustAdminServerBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for crossRealmTrustAdminServer.
-
setCrossRealmTrustAdminServer
public KerberosConfig.Builder setCrossRealmTrustAdminServer(String value)
Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The crossRealmTrustAdminServer to set.- Returns:
- This builder for chaining.
-
clearCrossRealmTrustAdminServer
public KerberosConfig.Builder clearCrossRealmTrustAdminServer()
Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setCrossRealmTrustAdminServerBytes
public KerberosConfig.Builder setCrossRealmTrustAdminServerBytes(com.google.protobuf.ByteString value)
Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship.
string cross_realm_trust_admin_server = 11 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for crossRealmTrustAdminServer to set.- Returns:
- This builder for chaining.
-
getCrossRealmTrustSharedPasswordUri
public String getCrossRealmTrustSharedPasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.
string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCrossRealmTrustSharedPasswordUri
in interfaceKerberosConfigOrBuilder
- Returns:
- The crossRealmTrustSharedPasswordUri.
-
getCrossRealmTrustSharedPasswordUriBytes
public com.google.protobuf.ByteString getCrossRealmTrustSharedPasswordUriBytes()
Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.
string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCrossRealmTrustSharedPasswordUriBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for crossRealmTrustSharedPasswordUri.
-
setCrossRealmTrustSharedPasswordUri
public KerberosConfig.Builder setCrossRealmTrustSharedPasswordUri(String value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.
string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The crossRealmTrustSharedPasswordUri to set.- Returns:
- This builder for chaining.
-
clearCrossRealmTrustSharedPasswordUri
public KerberosConfig.Builder clearCrossRealmTrustSharedPasswordUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.
string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setCrossRealmTrustSharedPasswordUriBytes
public KerberosConfig.Builder setCrossRealmTrustSharedPasswordUriBytes(com.google.protobuf.ByteString value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship.
string cross_realm_trust_shared_password_uri = 12 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for crossRealmTrustSharedPasswordUri to set.- Returns:
- This builder for chaining.
-
getKdcDbKeyUri
public String getKdcDbKeyUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKdcDbKeyUri
in interfaceKerberosConfigOrBuilder
- Returns:
- The kdcDbKeyUri.
-
getKdcDbKeyUriBytes
public com.google.protobuf.ByteString getKdcDbKeyUriBytes()
Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getKdcDbKeyUriBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for kdcDbKeyUri.
-
setKdcDbKeyUri
public KerberosConfig.Builder setKdcDbKeyUri(String value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The kdcDbKeyUri to set.- Returns:
- This builder for chaining.
-
clearKdcDbKeyUri
public KerberosConfig.Builder clearKdcDbKeyUri()
Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setKdcDbKeyUriBytes
public KerberosConfig.Builder setKdcDbKeyUriBytes(com.google.protobuf.ByteString value)
Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database.
string kdc_db_key_uri = 13 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for kdcDbKeyUri to set.- Returns:
- This builder for chaining.
-
getTgtLifetimeHours
public int getTgtLifetimeHours()
Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.
int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTgtLifetimeHours
in interfaceKerberosConfigOrBuilder
- Returns:
- The tgtLifetimeHours.
-
setTgtLifetimeHours
public KerberosConfig.Builder setTgtLifetimeHours(int value)
Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.
int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The tgtLifetimeHours to set.- Returns:
- This builder for chaining.
-
clearTgtLifetimeHours
public KerberosConfig.Builder clearTgtLifetimeHours()
Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used.
int32 tgt_lifetime_hours = 14 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
getRealm
public String getRealm()
Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
string realm = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRealm
in interfaceKerberosConfigOrBuilder
- Returns:
- The realm.
-
getRealmBytes
public com.google.protobuf.ByteString getRealmBytes()
Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
string realm = 15 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getRealmBytes
in interfaceKerberosConfigOrBuilder
- Returns:
- The bytes for realm.
-
setRealm
public KerberosConfig.Builder setRealm(String value)
Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
string realm = 15 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The realm to set.- Returns:
- This builder for chaining.
-
clearRealm
public KerberosConfig.Builder clearRealm()
Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
string realm = 15 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setRealmBytes
public KerberosConfig.Builder setRealmBytes(com.google.protobuf.ByteString value)
Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm.
string realm = 15 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for realm to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final KerberosConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
mergeUnknownFields
public final KerberosConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KerberosConfig.Builder>
-
-