Class ManagedActiveDirectoryConfig.Builder (1.84.0)

public static final class ManagedActiveDirectoryConfig.Builder extends GeneratedMessage.Builder<ManagedActiveDirectoryConfig.Builder> implements ManagedActiveDirectoryConfigOrBuilder

ManagedActiveDirectoryConfig contains all the parameters for connecting to Managed Service for Microsoft Active Directory (Managed Microsoft AD).

Protobuf type google.cloud.filestore.v1beta1.ManagedActiveDirectoryConfig

Static Methods

getDescriptor()

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

Methods

build()

public ManagedActiveDirectoryConfig build()
Returns
Type Description
ManagedActiveDirectoryConfig

buildPartial()

public ManagedActiveDirectoryConfig buildPartial()
Returns
Type Description
ManagedActiveDirectoryConfig

clear()

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

clearComputer()

public ManagedActiveDirectoryConfig.Builder clearComputer()

Required. The computer name is used as a prefix in the command to mount the remote target. For example: if the computer is my-computer, the mount command will look like: $mount -o vers=4.1,sec=krb5 my-computer.filestore.<domain>:<share> <mount point>.

string computer = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

clearDomain()

public ManagedActiveDirectoryConfig.Builder clearDomain()

Required. The domain resource name, in the format projects/{project_id}/locations/global/domains/{domain}.

string domain = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

getComputer()

public String getComputer()

Required. The computer name is used as a prefix in the command to mount the remote target. For example: if the computer is my-computer, the mount command will look like: $mount -o vers=4.1,sec=krb5 my-computer.filestore.<domain>:<share> <mount point>.

string computer = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The computer.

getComputerBytes()

public ByteString getComputerBytes()

Required. The computer name is used as a prefix in the command to mount the remote target. For example: if the computer is my-computer, the mount command will look like: $mount -o vers=4.1,sec=krb5 my-computer.filestore.<domain>:<share> <mount point>.

string computer = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for computer.

getDefaultInstanceForType()

public ManagedActiveDirectoryConfig getDefaultInstanceForType()
Returns
Type Description
ManagedActiveDirectoryConfig

getDescriptorForType()

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

getDomain()

public String getDomain()

Required. The domain resource name, in the format projects/{project_id}/locations/global/domains/{domain}.

string domain = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Required. The domain resource name, in the format projects/{project_id}/locations/global/domains/{domain}.

string domain = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for domain.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ManagedActiveDirectoryConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setComputer(String value)

public ManagedActiveDirectoryConfig.Builder setComputer(String value)

Required. The computer name is used as a prefix in the command to mount the remote target. For example: if the computer is my-computer, the mount command will look like: $mount -o vers=4.1,sec=krb5 my-computer.filestore.<domain>:<share> <mount point>.

string computer = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The computer to set.

Returns
Type Description
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

setComputerBytes(ByteString value)

public ManagedActiveDirectoryConfig.Builder setComputerBytes(ByteString value)

Required. The computer name is used as a prefix in the command to mount the remote target. For example: if the computer is my-computer, the mount command will look like: $mount -o vers=4.1,sec=krb5 my-computer.filestore.<domain>:<share> <mount point>.

string computer = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for computer to set.

Returns
Type Description
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

setDomain(String value)

public ManagedActiveDirectoryConfig.Builder setDomain(String value)

Required. The domain resource name, in the format projects/{project_id}/locations/global/domains/{domain}.

string domain = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The domain to set.

Returns
Type Description
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

setDomainBytes(ByteString value)

public ManagedActiveDirectoryConfig.Builder setDomainBytes(ByteString value)

Required. The domain resource name, in the format projects/{project_id}/locations/global/domains/{domain}.

string domain = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for domain to set.

Returns
Type Description
ManagedActiveDirectoryConfig.Builder

This builder for chaining.