Class ManagedActiveDirectoryConfig.Builder (1.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManagedActiveDirectoryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder
Overrides

build()

public ManagedActiveDirectoryConfig build()
Returns
TypeDescription
ManagedActiveDirectoryConfig

buildPartial()

public ManagedActiveDirectoryConfig buildPartial()
Returns
TypeDescription
ManagedActiveDirectoryConfig

clear()

public ManagedActiveDirectoryConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

clearDomain()

public ManagedActiveDirectoryConfig.Builder clearDomain()

Fully qualified domain name.

string domain = 1;

Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ManagedActiveDirectoryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ManagedActiveDirectoryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder
Overrides

clone()

public ManagedActiveDirectoryConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for computer.

getDefaultInstanceForType()

public ManagedActiveDirectoryConfig getDefaultInstanceForType()
Returns
TypeDescription
ManagedActiveDirectoryConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDomain()

public String getDomain()

Fully qualified domain name.

string domain = 1;

Returns
TypeDescription
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Fully qualified domain name.

string domain = 1;

Returns
TypeDescription
ByteString

The bytes for domain.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ManagedActiveDirectoryConfig other)

public ManagedActiveDirectoryConfig.Builder mergeFrom(ManagedActiveDirectoryConfig other)
Parameter
NameDescription
otherManagedActiveDirectoryConfig
Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManagedActiveDirectoryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ManagedActiveDirectoryConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManagedActiveDirectoryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The computer to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for computer to set.

Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

setDomain(String value)

public ManagedActiveDirectoryConfig.Builder setDomain(String value)

Fully qualified domain name.

string domain = 1;

Parameter
NameDescription
valueString

The domain to set.

Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

setDomainBytes(ByteString value)

public ManagedActiveDirectoryConfig.Builder setDomainBytes(ByteString value)

Fully qualified domain name.

string domain = 1;

Parameter
NameDescription
valueByteString

The bytes for domain to set.

Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ManagedActiveDirectoryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder
Overrides

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

public ManagedActiveDirectoryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ManagedActiveDirectoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ManagedActiveDirectoryConfig.Builder
Overrides