Class CreateActiveDirectoryRequest.Builder (0.24.0)

public static final class CreateActiveDirectoryRequest.Builder extends GeneratedMessageV3.Builder<CreateActiveDirectoryRequest.Builder> implements CreateActiveDirectoryRequestOrBuilder

CreateActiveDirectoryRequest for creating an active directory.

Protobuf type google.cloud.netapp.v1.CreateActiveDirectoryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateActiveDirectoryRequest build()
Returns
Type Description
CreateActiveDirectoryRequest

buildPartial()

public CreateActiveDirectoryRequest buildPartial()
Returns
Type Description
CreateActiveDirectoryRequest

clear()

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

clearActiveDirectory()

public CreateActiveDirectoryRequest.Builder clearActiveDirectory()

Required. Fields of the to be created active directory.

.google.cloud.netapp.v1.ActiveDirectory active_directory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateActiveDirectoryRequest.Builder

clearActiveDirectoryId()

public CreateActiveDirectoryRequest.Builder clearActiveDirectoryId()

Required. ID of the active directory to create.

string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateActiveDirectoryRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateActiveDirectoryRequest.Builder clearParent()

Required. Value for parent.

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

Returns
Type Description
CreateActiveDirectoryRequest.Builder

This builder for chaining.

clone()

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

getActiveDirectory()

public ActiveDirectory getActiveDirectory()

Required. Fields of the to be created active directory.

.google.cloud.netapp.v1.ActiveDirectory active_directory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActiveDirectory

The activeDirectory.

getActiveDirectoryBuilder()

public ActiveDirectory.Builder getActiveDirectoryBuilder()

Required. Fields of the to be created active directory.

.google.cloud.netapp.v1.ActiveDirectory active_directory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActiveDirectory.Builder

getActiveDirectoryId()

public String getActiveDirectoryId()

Required. ID of the active directory to create.

string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The activeDirectoryId.

getActiveDirectoryIdBytes()

public ByteString getActiveDirectoryIdBytes()

Required. ID of the active directory to create.

string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for activeDirectoryId.

getActiveDirectoryOrBuilder()

public ActiveDirectoryOrBuilder getActiveDirectoryOrBuilder()

Required. Fields of the to be created active directory.

.google.cloud.netapp.v1.ActiveDirectory active_directory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ActiveDirectoryOrBuilder

getDefaultInstanceForType()

public CreateActiveDirectoryRequest getDefaultInstanceForType()
Returns
Type Description
CreateActiveDirectoryRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Value for parent.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Value for parent.

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

Returns
Type Description
ByteString

The bytes for parent.

hasActiveDirectory()

public boolean hasActiveDirectory()

Required. Fields of the to be created active directory.

.google.cloud.netapp.v1.ActiveDirectory active_directory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the activeDirectory field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeActiveDirectory(ActiveDirectory value)

public CreateActiveDirectoryRequest.Builder mergeActiveDirectory(ActiveDirectory value)

Required. Fields of the to be created active directory.

.google.cloud.netapp.v1.ActiveDirectory active_directory = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ActiveDirectory
Returns
Type Description
CreateActiveDirectoryRequest.Builder

mergeFrom(CreateActiveDirectoryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setActiveDirectory(ActiveDirectory value)

public CreateActiveDirectoryRequest.Builder setActiveDirectory(ActiveDirectory value)

Required. Fields of the to be created active directory.

.google.cloud.netapp.v1.ActiveDirectory active_directory = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ActiveDirectory
Returns
Type Description
CreateActiveDirectoryRequest.Builder

setActiveDirectory(ActiveDirectory.Builder builderForValue)

public CreateActiveDirectoryRequest.Builder setActiveDirectory(ActiveDirectory.Builder builderForValue)

Required. Fields of the to be created active directory.

.google.cloud.netapp.v1.ActiveDirectory active_directory = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ActiveDirectory.Builder
Returns
Type Description
CreateActiveDirectoryRequest.Builder

setActiveDirectoryId(String value)

public CreateActiveDirectoryRequest.Builder setActiveDirectoryId(String value)

Required. ID of the active directory to create.

string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The activeDirectoryId to set.

Returns
Type Description
CreateActiveDirectoryRequest.Builder

This builder for chaining.

setActiveDirectoryIdBytes(ByteString value)

public CreateActiveDirectoryRequest.Builder setActiveDirectoryIdBytes(ByteString value)

Required. ID of the active directory to create.

string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for activeDirectoryId to set.

Returns
Type Description
CreateActiveDirectoryRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateActiveDirectoryRequest.Builder setParent(String value)

Required. Value for parent.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateActiveDirectoryRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateActiveDirectoryRequest.Builder setParentBytes(ByteString value)

Required. Value for parent.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateActiveDirectoryRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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