Class CreateActiveDirectoryRequest.Builder (0.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateActiveDirectoryRequest build()
Returns
TypeDescription
CreateActiveDirectoryRequest

buildPartial()

public CreateActiveDirectoryRequest buildPartial()
Returns
TypeDescription
CreateActiveDirectoryRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateActiveDirectoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateActiveDirectoryRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateActiveDirectoryRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateActiveDirectoryRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. Value for parent.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Value for parent.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the activeDirectory field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueActiveDirectory
Returns
TypeDescription
CreateActiveDirectoryRequest.Builder

mergeFrom(CreateActiveDirectoryRequest other)

public CreateActiveDirectoryRequest.Builder mergeFrom(CreateActiveDirectoryRequest other)
Parameter
NameDescription
otherCreateActiveDirectoryRequest
Returns
TypeDescription
CreateActiveDirectoryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The activeDirectoryId to set.

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

The bytes for activeDirectoryId to set.

Returns
TypeDescription
CreateActiveDirectoryRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateActiveDirectoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateActiveDirectoryRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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