Class ManagedActiveDirectoryConfig.Builder (1.49.0)

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

ManagedActiveDirectoryConfig contains all the parameters for connecting to Managed Active Directory.

Protobuf type google.cloud.filestore.v1beta1.ManagedActiveDirectoryConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManagedActiveDirectoryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ManagedActiveDirectoryConfig.Builder
Overrides

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

The computer name is used as a prefix to the mount remote target. Example: if the computer_name is my-computer, the mount command will look like: $mount -o vers=4,sec=krb5 my-computer.filestore.<domain>:<share>.

string computer = 2;

Returns
Type Description
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

clearDomain()

public ManagedActiveDirectoryConfig.Builder clearDomain()

Fully qualified domain name.

string domain = 1;

Returns
Type Description
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ManagedActiveDirectoryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ManagedActiveDirectoryConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ManagedActiveDirectoryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ManagedActiveDirectoryConfig.Builder
Overrides

clone()

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

getComputer()

public String getComputer()

The computer name is used as a prefix to the mount remote target. Example: if the computer_name is my-computer, the mount command will look like: $mount -o vers=4,sec=krb5 my-computer.filestore.<domain>:<share>.

string computer = 2;

Returns
Type Description
String

The computer.

getComputerBytes()

public ByteString getComputerBytes()

The computer name is used as a prefix to the mount remote target. Example: if the computer_name is my-computer, the mount command will look like: $mount -o vers=4,sec=krb5 my-computer.filestore.<domain>:<share>.

string computer = 2;

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

Fully qualified domain name.

string domain = 1;

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Fully qualified domain name.

string domain = 1;

Returns
Type Description
ByteString

The bytes for domain.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManagedActiveDirectoryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ManagedActiveDirectoryConfig.Builder
Overrides

setComputer(String value)

public ManagedActiveDirectoryConfig.Builder setComputer(String value)

The computer name is used as a prefix to the mount remote target. Example: if the computer_name is my-computer, the mount command will look like: $mount -o vers=4,sec=krb5 my-computer.filestore.<domain>:<share>.

string computer = 2;

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)

The computer name is used as a prefix to the mount remote target. Example: if the computer_name is my-computer, the mount command will look like: $mount -o vers=4,sec=krb5 my-computer.filestore.<domain>:<share>.

string computer = 2;

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)

Fully qualified domain name.

string domain = 1;

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)

Fully qualified domain name.

string domain = 1;

Parameter
Name Description
value ByteString

The bytes for domain to set.

Returns
Type Description
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ManagedActiveDirectoryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ManagedActiveDirectoryConfig.Builder
Overrides

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

public ManagedActiveDirectoryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ManagedActiveDirectoryConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ManagedActiveDirectoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ManagedActiveDirectoryConfig.Builder
Overrides