Class ActiveDirectory.Builder (0.13.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
TypeDescription
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
NameDescription
valuesIterable<String>

The backupOperators to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The securityOperators to add.

Returns
TypeDescription
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
NameDescription
valueString

The backupOperators to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the backupOperators to add.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ActiveDirectory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The securityOperators to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the securityOperators to add.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

build()

public ActiveDirectory build()
Returns
TypeDescription
ActiveDirectory

buildPartial()

public ActiveDirectory buildPartial()
Returns
TypeDescription
ActiveDirectory

clear()

public ActiveDirectory.Builder clear()
Returns
TypeDescription
ActiveDirectory.Builder
Overrides

clearAesEncryption()

public ActiveDirectory.Builder clearAesEncryption()

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

bool aes_encryption = 9;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ActiveDirectory.Builder

clearDescription()

public ActiveDirectory.Builder clearDescription()

Description of the active directory.

string description = 17;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ActiveDirectory.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

clearLabels()

public ActiveDirectory.Builder clearLabels()
Returns
TypeDescription
ActiveDirectory.Builder

clearLdapSigning()

public ActiveDirectory.Builder clearLdapSigning()

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

bool ldap_signing = 18;

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

clearName()

public ActiveDirectory.Builder clearName()

Identifier. 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) = IDENTIFIER];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ActiveDirectory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

clearSecurityOperators()

public ActiveDirectory.Builder clearSecurityOperators()

Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

clone()

public ActiveDirectory.Builder clone()
Returns
TypeDescription
ActiveDirectory.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Labels for the active directory.

map<string, string> labels = 20;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAesEncryption()

public boolean getAesEncryption()

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

bool aes_encryption = 9;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ActiveDirectory getDefaultInstanceForType()
Returns
TypeDescription
ActiveDirectory

getDescription()

public String getDescription()

Description of the active directory.

string description = 17;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the active directory.

string description = 17;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Required. Name of the Active Directory domain

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for kdcHostname.

getKdcIp()

public String getKdcIp()

KDC server IP address for the active directory machine.

string kdc_ip = 15;

Returns
TypeDescription
String

The kdcIp.

getKdcIpBytes()

public ByteString getKdcIpBytes()

KDC server IP address for the active directory machine.

string kdc_ip = 15;

Returns
TypeDescription
ByteString

The bytes for kdcIp.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels for the active directory.

map<string, string> labels = 20;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels for the active directory.

map<string, string> labels = 20;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels for the active directory.

map<string, string> labels = 20;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLdapSigning()

public boolean getLdapSigning()

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

bool ldap_signing = 18;

Returns
TypeDescription
boolean

The ldapSigning.

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Identifier. 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) = IDENTIFIER];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. 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) = IDENTIFIER];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The nfsUsersWithLdap.

getOrganizationalUnit()

public String getOrganizationalUnit()

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

string organizational_unit = 8;

Returns
TypeDescription
String

The organizationalUnit.

getOrganizationalUnitBytes()

public ByteString getOrganizationalUnitBytes()

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

string organizational_unit = 8;

Returns
TypeDescription
ByteString

The bytes for organizationalUnit.

getPassword()

public String getPassword()

Required. Password of the Active Directory domain administrator.

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

Returns
TypeDescription
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Required. Password of the Active Directory domain administrator.

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

Returns
TypeDescription
ByteString

The bytes for password.

getSecurityOperators(int index)

public String getSecurityOperators(int index)

Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The securityOperators at the given index.

getSecurityOperatorsBytes(int index)

public ByteString getSecurityOperatorsBytes(int index)

Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the securityOperators at the given index.

getSecurityOperatorsCount()

public int getSecurityOperatorsCount()

Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13;

Returns
TypeDescription
int

The count of securityOperators.

getSecurityOperatorsList()

public ProtocolStringList getSecurityOperatorsList()

Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13;

Returns
TypeDescription
ProtocolStringList

A list containing the securityOperators.

getSite()

public String getSite()

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

string site = 5;

Returns
TypeDescription
String

The site.

getSiteBytes()

public ByteString getSiteBytes()

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

string site = 5;

Returns
TypeDescription
ByteString

The bytes for site.

getState()

public ActiveDirectory.State getState()

Output only. The state of the AD.

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

Returns
TypeDescription
ActiveDirectory.State

The state.

getStateDetails()

public String getStateDetails()

Output only. The state details of the Active Directory.

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

Returns
TypeDescription
String

The stateDetails.

getStateDetailsBytes()

public ByteString getStateDetailsBytes()

Output only. The state details of the Active Directory.

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

Returns
TypeDescription
ByteString

The bytes for stateDetails.

getStateValue()

public int getStateValue()

Output only. The state of the AD.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUsername()

public String getUsername()

Required. Username of the Active Directory domain administrator.

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

Returns
TypeDescription
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. Username of the Active Directory domain administrator.

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

Returns
TypeDescription
ByteString

The bytes for username.

hasCreateTime()

public boolean hasCreateTime()

Output only. Create time of the active directory.

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public ActiveDirectory.Builder mergeCreateTime(Timestamp value)

Output only. Create time of the active directory.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ActiveDirectory.Builder

mergeFrom(ActiveDirectory other)

public ActiveDirectory.Builder mergeFrom(ActiveDirectory other)
Parameter
NameDescription
otherActiveDirectory
Returns
TypeDescription
ActiveDirectory.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ActiveDirectory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ActiveDirectory.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ActiveDirectory.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ActiveDirectory.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ActiveDirectory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ActiveDirectory.Builder
Overrides

putAllLabels(Map<String,String> values)

public ActiveDirectory.Builder putAllLabels(Map<String,String> values)

Labels for the active directory.

map<string, string> labels = 20;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
ActiveDirectory.Builder

putLabels(String key, String value)

public ActiveDirectory.Builder putLabels(String key, String value)

Labels for the active directory.

map<string, string> labels = 20;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
ActiveDirectory.Builder

removeLabels(String key)

public ActiveDirectory.Builder removeLabels(String key)

Labels for the active directory.

map<string, string> labels = 20;

Parameter
NameDescription
keyString
Returns
TypeDescription
ActiveDirectory.Builder

setAesEncryption(boolean value)

public ActiveDirectory.Builder setAesEncryption(boolean value)

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

bool aes_encryption = 9;

Parameter
NameDescription
valueboolean

The aesEncryption to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setBackupOperators(int index, String value)

public ActiveDirectory.Builder setBackupOperators(int index, String value)

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

repeated string backup_operators = 12;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The backupOperators to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public ActiveDirectory.Builder setCreateTime(Timestamp value)

Output only. Create time of the active directory.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
ActiveDirectory.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ActiveDirectory.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Create time of the active directory.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
ActiveDirectory.Builder

setDescription(String value)

public ActiveDirectory.Builder setDescription(String value)

Description of the active directory.

string description = 17;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ActiveDirectory.Builder setDescriptionBytes(ByteString value)

Description of the active directory.

string description = 17;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setDns(String value)

public ActiveDirectory.Builder setDns(String value)

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

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

Parameter
NameDescription
valueString

The dns to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setDnsBytes(ByteString value)

public ActiveDirectory.Builder setDnsBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for dns to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setDomain(String value)

public ActiveDirectory.Builder setDomain(String value)

Required. Name of the Active Directory domain

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

Parameter
NameDescription
valueString

The domain to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setDomainBytes(ByteString value)

public ActiveDirectory.Builder setDomainBytes(ByteString value)

Required. Name of the Active Directory domain

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

Parameter
NameDescription
valueByteString

The bytes for domain to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setEncryptDcConnections(boolean value)

public ActiveDirectory.Builder setEncryptDcConnections(boolean value)

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

bool encrypt_dc_connections = 19;

Parameter
NameDescription
valueboolean

The encryptDcConnections to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ActiveDirectory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ActiveDirectory.Builder
Overrides

setKdcHostname(String value)

public ActiveDirectory.Builder setKdcHostname(String value)

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

string kdc_hostname = 14;

Parameter
NameDescription
valueString

The kdcHostname to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setKdcHostnameBytes(ByteString value)

public ActiveDirectory.Builder setKdcHostnameBytes(ByteString value)

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

string kdc_hostname = 14;

Parameter
NameDescription
valueByteString

The bytes for kdcHostname to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setKdcIp(String value)

public ActiveDirectory.Builder setKdcIp(String value)

KDC server IP address for the active directory machine.

string kdc_ip = 15;

Parameter
NameDescription
valueString

The kdcIp to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setKdcIpBytes(ByteString value)

public ActiveDirectory.Builder setKdcIpBytes(ByteString value)

KDC server IP address for the active directory machine.

string kdc_ip = 15;

Parameter
NameDescription
valueByteString

The bytes for kdcIp to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setLdapSigning(boolean value)

public ActiveDirectory.Builder setLdapSigning(boolean value)

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

bool ldap_signing = 18;

Parameter
NameDescription
valueboolean

The ldapSigning to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setName(String value)

public ActiveDirectory.Builder setName(String value)

Identifier. 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) = IDENTIFIER];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ActiveDirectory.Builder setNameBytes(ByteString value)

Identifier. 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) = IDENTIFIER];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setNetBiosPrefix(String value)

public ActiveDirectory.Builder setNetBiosPrefix(String value)

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

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

Parameter
NameDescription
valueString

The netBiosPrefix to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setNetBiosPrefixBytes(ByteString value)

public ActiveDirectory.Builder setNetBiosPrefixBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for netBiosPrefix to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setNfsUsersWithLdap(boolean value)

public ActiveDirectory.Builder setNfsUsersWithLdap(boolean value)

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;

Parameter
NameDescription
valueboolean

The nfsUsersWithLdap to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setOrganizationalUnit(String value)

public ActiveDirectory.Builder setOrganizationalUnit(String value)

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

string organizational_unit = 8;

Parameter
NameDescription
valueString

The organizationalUnit to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setOrganizationalUnitBytes(ByteString value)

public ActiveDirectory.Builder setOrganizationalUnitBytes(ByteString value)

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

string organizational_unit = 8;

Parameter
NameDescription
valueByteString

The bytes for organizationalUnit to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setPassword(String value)

public ActiveDirectory.Builder setPassword(String value)

Required. Password of the Active Directory domain administrator.

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

Parameter
NameDescription
valueString

The password to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setPasswordBytes(ByteString value)

public ActiveDirectory.Builder setPasswordBytes(ByteString value)

Required. Password of the Active Directory domain administrator.

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

Parameter
NameDescription
valueByteString

The bytes for password to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

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

public ActiveDirectory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ActiveDirectory.Builder
Overrides

setSecurityOperators(int index, String value)

public ActiveDirectory.Builder setSecurityOperators(int index, String value)

Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The securityOperators to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setSite(String value)

public ActiveDirectory.Builder setSite(String value)

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

string site = 5;

Parameter
NameDescription
valueString

The site to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setSiteBytes(ByteString value)

public ActiveDirectory.Builder setSiteBytes(ByteString value)

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

string site = 5;

Parameter
NameDescription
valueByteString

The bytes for site to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setState(ActiveDirectory.State value)

public ActiveDirectory.Builder setState(ActiveDirectory.State value)

Output only. The state of the AD.

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

Parameter
NameDescription
valueActiveDirectory.State

The state to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setStateDetails(String value)

public ActiveDirectory.Builder setStateDetails(String value)

Output only. The state details of the Active Directory.

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

Parameter
NameDescription
valueString

The stateDetails to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setStateDetailsBytes(ByteString value)

public ActiveDirectory.Builder setStateDetailsBytes(ByteString value)

Output only. The state details of the Active Directory.

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

Parameter
NameDescription
valueByteString

The bytes for stateDetails to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setStateValue(int value)

public ActiveDirectory.Builder setStateValue(int value)

Output only. The state of the AD.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ActiveDirectory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ActiveDirectory.Builder
Overrides

setUsername(String value)

public ActiveDirectory.Builder setUsername(String value)

Required. Username of the Active Directory domain administrator.

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

Parameter
NameDescription
valueString

The username to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.

setUsernameBytes(ByteString value)

public ActiveDirectory.Builder setUsernameBytes(ByteString value)

Required. Username of the Active Directory domain administrator.

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

Parameter
NameDescription
valueByteString

The bytes for username to set.

Returns
TypeDescription
ActiveDirectory.Builder

This builder for chaining.