Class ActiveDirectory.Builder (0.26.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

addAdministrators(String value)

public ActiveDirectory.Builder addAdministrators(String value)

Optional. Users to be added to the Built-in Admininstrators group.

repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The administrators to add.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

addAdministratorsBytes(ByteString value)

public ActiveDirectory.Builder addAdministratorsBytes(ByteString value)

Optional. Users to be added to the Built-in Admininstrators group.

repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the administrators to add.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

addAllAdministrators(Iterable<String> values)

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

Optional. Users to be added to the Built-in Admininstrators group.

repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The administrators to add.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

addAllBackupOperators(Iterable<String> values)

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

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

repeated string backup_operators = 12 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13 [(.google.api.field_behavior) = OPTIONAL];

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)

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

repeated string backup_operators = 12 [(.google.api.field_behavior) = OPTIONAL];

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)

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

repeated string backup_operators = 12 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13 [(.google.api.field_behavior) = OPTIONAL];

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

clearAdministrators()

public ActiveDirectory.Builder clearAdministrators()

Optional. Users to be added to the Built-in Admininstrators group.

repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

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()

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

repeated string backup_operators = 12 [(.google.api.field_behavior) = OPTIONAL];

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()

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
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()

Optional. Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13 [(.google.api.field_behavior) = OPTIONAL];

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

getAdministrators(int index)

public String getAdministrators(int index)

Optional. Users to be added to the Built-in Admininstrators group.

repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The administrators at the given index.

getAdministratorsBytes(int index)

public ByteString getAdministratorsBytes(int index)

Optional. Users to be added to the Built-in Admininstrators group.

repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the administrators at the given index.

getAdministratorsCount()

public int getAdministratorsCount()

Optional. Users to be added to the Built-in Admininstrators group.

repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of administrators.

getAdministratorsList()

public ProtocolStringList getAdministratorsList()

Optional. Users to be added to the Built-in Admininstrators group.

repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the administrators.

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)

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

repeated string backup_operators = 12 [(.google.api.field_behavior) = OPTIONAL];

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)

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

repeated string backup_operators = 12 [(.google.api.field_behavior) = OPTIONAL];

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()

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

repeated string backup_operators = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of backupOperators.

getBackupOperatorsList()

public ProtocolStringList getBackupOperatorsList()

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

repeated string backup_operators = 12 [(.google.api.field_behavior) = OPTIONAL];

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()

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
Type Description
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
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
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
Type Description
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
Type Description
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
Type Description
String

The password.

getPasswordBytes()

public ByteString getPasswordBytes()

Required. Password of the Active Directory domain administrator.

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

Returns
Type Description
ByteString

The bytes for password.

getSecurityOperators(int index)

public String getSecurityOperators(int index)

Optional. Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The securityOperators at the given index.

getSecurityOperatorsBytes(int index)

public ByteString getSecurityOperatorsBytes(int index)

Optional. Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the securityOperators at the given index.

getSecurityOperatorsCount()

public int getSecurityOperatorsCount()

Optional. Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of securityOperators.

getSecurityOperatorsList()

public ProtocolStringList getSecurityOperatorsList()

Optional. Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
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
Type Description
String

The site.

getSiteBytes()

public ByteString getSiteBytes()

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

string site = 5;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
String

The username.

getUsernameBytes()

public ByteString getUsernameBytes()

Required. Username of the Active Directory domain administrator.

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

Returns
Type Description
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
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
ActiveDirectory.Builder

mergeFrom(ActiveDirectory other)

public ActiveDirectory.Builder mergeFrom(ActiveDirectory other)
Parameter
Name Description
other ActiveDirectory
Returns
Type Description
ActiveDirectory.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ActiveDirectory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveDirectory.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ActiveDirectory.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ActiveDirectory.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ActiveDirectory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
ActiveDirectory.Builder

removeLabels(String key)

public ActiveDirectory.Builder removeLabels(String key)

Labels for the active directory.

map<string, string> labels = 20;

Parameter
Name Description
key String
Returns
Type Description
ActiveDirectory.Builder

setAdministrators(int index, String value)

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

Optional. Users to be added to the Built-in Admininstrators group.

repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The administrators to set.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

setAesEncryption(boolean value)

public ActiveDirectory.Builder setAesEncryption(boolean value)

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

bool aes_encryption = 9;

Parameter
Name Description
value boolean

The aesEncryption to set.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

setBackupOperators(int index, String value)

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

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

repeated string backup_operators = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The backupOperators to set.

Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
ActiveDirectory.Builder

setDescription(String value)

public ActiveDirectory.Builder setDescription(String value)

Description of the active directory.

string description = 17;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ActiveDirectory.Builder setDescriptionBytes(ByteString value)

Description of the active directory.

string description = 17;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
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
Name Description
value String

The dns to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for dns to set.

Returns
Type Description
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
Name Description
value String

The domain to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for domain to set.

Returns
Type Description
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
Name Description
value boolean

The encryptDcConnections to set.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ActiveDirectory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The kdcHostname to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for kdcHostname to set.

Returns
Type Description
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
Name Description
value String

The kdcIp to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for kdcIp to set.

Returns
Type Description
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
Name Description
value boolean

The ldapSigning to set.

Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
value String

The netBiosPrefix to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for netBiosPrefix to set.

Returns
Type Description
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
Name Description
value boolean

The nfsUsersWithLdap to set.

Returns
Type Description
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
Name Description
value String

The organizationalUnit to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for organizationalUnit to set.

Returns
Type Description
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
Name Description
value String

The password to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for password to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ActiveDirectory.Builder
Overrides

setSecurityOperators(int index, String value)

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

Optional. Domain users to be given the SeSecurityPrivilege.

repeated string security_operators = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The securityOperators to set.

Returns
Type Description
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
Name Description
value String

The site to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for site to set.

Returns
Type Description
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
Name Description
value ActiveDirectory.State

The state to set.

Returns
Type Description
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
Name Description
value String

The stateDetails to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for stateDetails to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ActiveDirectory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The username to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for username to set.

Returns
Type Description
ActiveDirectory.Builder

This builder for chaining.