Class ActiveDirectory (0.52.0)

public final class ActiveDirectory extends GeneratedMessageV3 implements ActiveDirectoryOrBuilder

ActiveDirectory is the public representation of the active directory config.

Protobuf type google.cloud.netapp.v1.ActiveDirectory

Static Fields

ADMINISTRATORS_FIELD_NUMBER

public static final int ADMINISTRATORS_FIELD_NUMBER
Field Value
Type Description
int

AES_ENCRYPTION_FIELD_NUMBER

public static final int AES_ENCRYPTION_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_OPERATORS_FIELD_NUMBER

public static final int BACKUP_OPERATORS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DNS_FIELD_NUMBER

public static final int DNS_FIELD_NUMBER
Field Value
Type Description
int

DOMAIN_FIELD_NUMBER

public static final int DOMAIN_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPT_DC_CONNECTIONS_FIELD_NUMBER

public static final int ENCRYPT_DC_CONNECTIONS_FIELD_NUMBER
Field Value
Type Description
int

KDC_HOSTNAME_FIELD_NUMBER

public static final int KDC_HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

KDC_IP_FIELD_NUMBER

public static final int KDC_IP_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

LDAP_SIGNING_FIELD_NUMBER

public static final int LDAP_SIGNING_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NET_BIOS_PREFIX_FIELD_NUMBER

public static final int NET_BIOS_PREFIX_FIELD_NUMBER
Field Value
Type Description
int

NFS_USERS_WITH_LDAP_FIELD_NUMBER

public static final int NFS_USERS_WITH_LDAP_FIELD_NUMBER
Field Value
Type Description
int

ORGANIZATIONAL_UNIT_FIELD_NUMBER

public static final int ORGANIZATIONAL_UNIT_FIELD_NUMBER
Field Value
Type Description
int

PASSWORD_FIELD_NUMBER

public static final int PASSWORD_FIELD_NUMBER
Field Value
Type Description
int

SECURITY_OPERATORS_FIELD_NUMBER

public static final int SECURITY_OPERATORS_FIELD_NUMBER
Field Value
Type Description
int

SITE_FIELD_NUMBER

public static final int SITE_FIELD_NUMBER
Field Value
Type Description
int

STATE_DETAILS_FIELD_NUMBER

public static final int STATE_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

USERNAME_FIELD_NUMBER

public static final int USERNAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ActiveDirectory getDefaultInstance()
Returns
Type Description
ActiveDirectory

getDescriptor()

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

newBuilder()

public static ActiveDirectory.Builder newBuilder()
Returns
Type Description
ActiveDirectory.Builder

newBuilder(ActiveDirectory prototype)

public static ActiveDirectory.Builder newBuilder(ActiveDirectory prototype)
Parameter
Name Description
prototype ActiveDirectory
Returns
Type Description
ActiveDirectory.Builder

parseDelimitedFrom(InputStream input)

public static ActiveDirectory parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ActiveDirectory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ActiveDirectory parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ActiveDirectory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ActiveDirectory parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ActiveDirectory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ActiveDirectory parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ActiveDirectory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ActiveDirectory parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ActiveDirectory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ActiveDirectory parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ActiveDirectory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ActiveDirectory> parser()
Returns
Type Description
Parser<ActiveDirectory>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

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.

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