public final class SqlActiveDirectoryConfig extends GeneratedMessage implements SqlActiveDirectoryConfigOrBuilder
Active Directory configuration, relevant only for Cloud SQL for SQL Server.
Protobuf type google.cloud.sql.v1beta4.SqlActiveDirectoryConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ADMIN_CREDENTIAL_SECRET_NAME_FIELD_NUMBER
public static final int ADMIN_CREDENTIAL_SECRET_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DNS_SERVERS_FIELD_NUMBER
public static final int DNS_SERVERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ORGANIZATIONAL_UNIT_FIELD_NUMBER
public static final int ORGANIZATIONAL_UNIT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SqlActiveDirectoryConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SqlActiveDirectoryConfig.Builder newBuilder()
newBuilder(SqlActiveDirectoryConfig prototype)
public static SqlActiveDirectoryConfig.Builder newBuilder(SqlActiveDirectoryConfig prototype)
public static SqlActiveDirectoryConfig parseDelimitedFrom(InputStream input)
public static SqlActiveDirectoryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SqlActiveDirectoryConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlActiveDirectoryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SqlActiveDirectoryConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlActiveDirectoryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlActiveDirectoryConfig parseFrom(CodedInputStream input)
public static SqlActiveDirectoryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlActiveDirectoryConfig parseFrom(InputStream input)
public static SqlActiveDirectoryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SqlActiveDirectoryConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlActiveDirectoryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SqlActiveDirectoryConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAdminCredentialSecretName()
public String getAdminCredentialSecretName()
Optional. The secret manager key storing the administrator credential.
(e.g., projects/{project}/secrets/{secret}).
string admin_credential_secret_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The adminCredentialSecretName.
|
getAdminCredentialSecretNameBytes()
public ByteString getAdminCredentialSecretNameBytes()
Optional. The secret manager key storing the administrator credential.
(e.g., projects/{project}/secrets/{secret}).
string admin_credential_secret_name = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for adminCredentialSecretName.
|
getDefaultInstanceForType()
public SqlActiveDirectoryConfig getDefaultInstanceForType()
getDnsServers(int index)
public String getDnsServers(int index)
Optional. Domain controller IPv4 addresses used to bootstrap Active
Directory.
repeated string dns_servers = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The dnsServers at the given index.
|
getDnsServersBytes(int index)
public ByteString getDnsServersBytes(int index)
Optional. Domain controller IPv4 addresses used to bootstrap Active
Directory.
repeated string dns_servers = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the dnsServers at the given index.
|
getDnsServersCount()
public int getDnsServersCount()
Optional. Domain controller IPv4 addresses used to bootstrap Active
Directory.
repeated string dns_servers = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns |
| Type |
Description |
int |
The count of dnsServers.
|
getDnsServersList()
public ProtocolStringList getDnsServersList()
Optional. Domain controller IPv4 addresses used to bootstrap Active
Directory.
repeated string dns_servers = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
getDomain()
public String getDomain()
The name of the domain (e.g., mydomain.com).
string domain = 2;
| Returns |
| Type |
Description |
String |
The domain.
|
getDomainBytes()
public ByteString getDomainBytes()
The name of the domain (e.g., mydomain.com).
string domain = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for domain.
|
getKind()
This is always sql#activeDirectoryConfig.
string kind = 1;
| Returns |
| Type |
Description |
String |
The kind.
|
getKindBytes()
public ByteString getKindBytes()
This is always sql#activeDirectoryConfig.
string kind = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for kind.
|
getMode()
public SqlActiveDirectoryConfig.ActiveDirectoryMode getMode()
Optional. The mode of the Active Directory configuration.
.google.cloud.sql.v1beta4.SqlActiveDirectoryConfig.ActiveDirectoryMode mode = 3 [(.google.api.field_behavior) = OPTIONAL];
getModeValue()
public int getModeValue()
Optional. The mode of the Active Directory configuration.
.google.cloud.sql.v1beta4.SqlActiveDirectoryConfig.ActiveDirectoryMode mode = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for mode.
|
getOrganizationalUnit()
public String getOrganizationalUnit()
Optional. The organizational unit distinguished name. This is the full
hierarchical path to the organizational unit.
string organizational_unit = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The organizationalUnit.
|
getOrganizationalUnitBytes()
public ByteString getOrganizationalUnitBytes()
Optional. The organizational unit distinguished name. This is the full
hierarchical path to the organizational unit.
string organizational_unit = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for organizationalUnit.
|
getParserForType()
public Parser<SqlActiveDirectoryConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SqlActiveDirectoryConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SqlActiveDirectoryConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SqlActiveDirectoryConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides