Class ActiveDirectory.Builder (0.10.0)

public static final class ActiveDirectory.Builder extends GeneratedMessageV3.Builder<ActiveDirectory.Builder> implements ActiveDirectoryOrBuilder

ActiveDirectory is the public representation of the active directory config.

Protobuf type google.cloud.netapp.v1.ActiveDirectory

Static Methods

getDescriptor()

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

Methods

addAllBackupOperators(Iterable<String> values)

public ActiveDirectory.Builder addAllBackupOperators(Iterable<String> values)

Users to be added to the Built-in Backup Operator active directory group.

repeated string backup_operators = 12;

Parameter
Name Description
values Iterable<String>

The backupOperators to add.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

addAllSecurityOperators(Iterable<String> values)

public ActiveDirectory.Builder addAllSecurityOperators(Iterable<String> values)

Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13;

Parameter
Name Description
values Iterable<String>

The securityOperators to add.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

addBackupOperators(String value)

public ActiveDirectory.Builder addBackupOperators(String value)

Users to be added to the Built-in Backup Operator active directory group.

repeated string backup_operators = 12;

Parameter
Name Description
value String

The backupOperators to add.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

addBackupOperatorsBytes(ByteString value)

public ActiveDirectory.Builder addBackupOperatorsBytes(ByteString value)

Users to be added to the Built-in Backup Operator active directory group.

repeated string backup_operators = 12;

Parameter
Name Description
value ByteString

The bytes of the backupOperators to add.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSecurityOperators(String value)

public ActiveDirectory.Builder addSecurityOperators(String value)

Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13;

Parameter
Name Description
value String

The securityOperators to add.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

addSecurityOperatorsBytes(ByteString value)

public ActiveDirectory.Builder addSecurityOperatorsBytes(ByteString value)

Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13;

Parameter
Name Description
value ByteString

The bytes of the securityOperators to add.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

build()

public ActiveDirectory build()
Returns
Type Description
ActiveDirectory

buildPartial()

public ActiveDirectory buildPartial()
Returns
Type Description
ActiveDirectory

clear()

public ActiveDirectory.Builder clear()
Returns
Type Description
ActiveDirectory.Builder
Overrides

clearAesEncryption()

public ActiveDirectory.Builder clearAesEncryption()

If enabled, AES encryption will be enabled for SMB communication.

bool aes_encryption = 9;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearBackupOperators()

public ActiveDirectory.Builder clearBackupOperators()

Users to be added to the Built-in Backup Operator active directory group.

repeated string backup_operators = 12;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearCreateTime()

public ActiveDirectory.Builder clearCreateTime()

Output only. Create time of the active directory.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ActiveDirectory.Builder

clearDescription()

public ActiveDirectory.Builder clearDescription()

Description of the active directory.

string description = 17;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearDns()

public ActiveDirectory.Builder clearDns()

Required. Comma separated list of DNS server IP addresses for the Active Directory domain.

string dns = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearDomain()

public ActiveDirectory.Builder clearDomain()

Required. Name of the Active Directory domain

string domain = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearEncryptDcConnections()

public ActiveDirectory.Builder clearEncryptDcConnections()

If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted.

bool encrypt_dc_connections = 19;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearKdcHostname()

public ActiveDirectory.Builder clearKdcHostname()

Name of the active directory machine. This optional parameter is used only while creating kerberos volume

string kdc_hostname = 14;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearKdcIp()

public ActiveDirectory.Builder clearKdcIp()

KDC server IP address for the active directory machine.

string kdc_ip = 15;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearLabels()

public ActiveDirectory.Builder clearLabels()
Returns
Type Description
ActiveDirectory.Builder

clearLdapSigning()

public ActiveDirectory.Builder clearLdapSigning()

Specifies whether or not the LDAP traffic needs to be signed.

bool ldap_signing = 18;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearName()

public ActiveDirectory.Builder clearName()

Output only. The resource name of the active directory. Format: projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearNetBiosPrefix()

public ActiveDirectory.Builder clearNetBiosPrefix()

Required. NetBIOSPrefix is used as a prefix for SMB server name.

string net_bios_prefix = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearNfsUsersWithLdap()

public ActiveDirectory.Builder clearNfsUsersWithLdap()

If enabled, will allow access to local users and LDAP users. If access is needed for only LDAP users, it has to be disabled.

bool nfs_users_with_ldap = 16;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrganizationalUnit()

public ActiveDirectory.Builder clearOrganizationalUnit()

The Organizational Unit (OU) within the Windows Active Directory the user belongs to.

string organizational_unit = 8;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearPassword()

public ActiveDirectory.Builder clearPassword()

Required. Password of the Active Directory domain administrator.

string password = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearSecurityOperators()

public ActiveDirectory.Builder clearSecurityOperators()

Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearSite()

public ActiveDirectory.Builder clearSite()

The Active Directory site the service will limit Domain Controller discovery too.

string site = 5;

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearState()

public ActiveDirectory.Builder clearState()

Output only. The state of the AD.

.google.cloud.netapp.v1.ActiveDirectory.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearStateDetails()

public ActiveDirectory.Builder clearStateDetails()

Output only. The state details of the Active Directory.

string state_details = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clearUsername()

public ActiveDirectory.Builder clearUsername()

Required. Username of the Active Directory domain administrator.

string username = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

Labels for the active directory.

map<string, string> labels = 20;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAesEncryption()

public boolean getAesEncryption()

If enabled, AES encryption will be enabled for SMB communication.

bool aes_encryption = 9;

Returns
Type Description
boolean

The aesEncryption.

getBackupOperators(int index)

public String getBackupOperators(int index)

Users to be added to the Built-in Backup Operator active directory group.

repeated string backup_operators = 12;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The backupOperators at the given index.

getBackupOperatorsBytes(int index)

public ByteString getBackupOperatorsBytes(int index)

Users to be added to the Built-in Backup Operator active directory group.

repeated string backup_operators = 12;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the backupOperators at the given index.

getBackupOperatorsCount()

public int getBackupOperatorsCount()

Users to be added to the Built-in Backup Operator active directory group.

repeated string backup_operators = 12;

Returns
Type Description
int

The count of backupOperators.

getBackupOperatorsList()

public ProtocolStringList getBackupOperatorsList()

Users to be added to the Built-in Backup Operator active directory group.

repeated string backup_operators = 12;

Returns
Type Description
ProtocolStringList

A list containing the backupOperators.

getCreateTime()

public Timestamp getCreateTime()

Output only. Create time of the active directory.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Create time of the active directory.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Create time of the active directory.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ActiveDirectory getDefaultInstanceForType()
Returns
Type Description
ActiveDirectory

getDescription()

public String getDescription()

Description of the active directory.

string description = 17;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the active directory.

string description = 17;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDns()

public String getDns()

Required. Comma separated list of DNS server IP addresses for the Active Directory domain.

string dns = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dns.

getDnsBytes()

public ByteString getDnsBytes()

Required. Comma separated list of DNS server IP addresses for the Active Directory domain.

string dns = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dns.

getDomain()

public String getDomain()

Required. Name of the Active Directory domain

string domain = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Required. Name of the Active Directory domain

string domain = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for domain.

getEncryptDcConnections()

public boolean getEncryptDcConnections()

If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted.

bool encrypt_dc_connections = 19;

Returns
Type Description
boolean

The encryptDcConnections.

getKdcHostname()

public String getKdcHostname()

Name of the active directory machine. This optional parameter is used only while creating kerberos volume

string kdc_hostname = 14;

Returns
Type Description
String

The kdcHostname.

getKdcHostnameBytes()

public ByteString getKdcHostnameBytes()

Name of the active directory machine. This optional parameter is used only while creating kerberos volume

string kdc_hostname = 14;

Returns
Type Description
ByteString

The bytes for kdcHostname.

getKdcIp()

public String getKdcIp()

KDC server IP address for the active directory machine.

string kdc_ip = 15;

Returns
Type Description
String

The kdcIp.

getKdcIpBytes()

public ByteString getKdcIpBytes()

KDC server IP address for the active directory machine.

string kdc_ip = 15;

Returns
Type Description
ByteString

The bytes for kdcIp.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels for the active directory.

map<string, string> labels = 20;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels for the active directory.

map<string, string> labels = 20;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels for the active directory.

map<string, string> labels = 20;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels for the active directory.

map<string, string> labels = 20;

Parameter
Name Description
key String
Returns
Type Description
String

getLdapSigning()

public boolean getLdapSigning()

Specifies whether or not the LDAP traffic needs to be signed.

bool ldap_signing = 18;

Returns
Type Description
boolean

The ldapSigning.

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Output only. The resource name of the active directory. Format: projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the active directory. Format: projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getNetBiosPrefix()

public String getNetBiosPrefix()

Required. NetBIOSPrefix is used as a prefix for SMB server name.

string net_bios_prefix = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The netBiosPrefix.

getNetBiosPrefixBytes()

public ByteString getNetBiosPrefixBytes()

Required. NetBIOSPrefix is used as a prefix for SMB server name.

string net_bios_prefix = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for netBiosPrefix.

getNfsUsersWithLdap()

public boolean getNfsUsersWithLdap()

If enabled, will allow access to local users and LDAP users. If access is needed for only LDAP users, it has to be disabled.

bool nfs_users_with_ldap = 16;

Returns
Type Description