Class DeleteActiveDirectoryRequest.Builder (0.7.0)

public static final class DeleteActiveDirectoryRequest.Builder extends GeneratedMessageV3.Builder<DeleteActiveDirectoryRequest.Builder> implements DeleteActiveDirectoryRequestOrBuilder

DeleteActiveDirectoryRequest for deleting a single active directory.

Protobuf type google.cloud.netapp.v1.DeleteActiveDirectoryRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteActiveDirectoryRequest build()
Returns
TypeDescription
DeleteActiveDirectoryRequest

buildPartial()

public DeleteActiveDirectoryRequest buildPartial()
Returns
TypeDescription
DeleteActiveDirectoryRequest

clear()

public DeleteActiveDirectoryRequest.Builder clear()
Returns
TypeDescription
DeleteActiveDirectoryRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteActiveDirectoryRequest.Builder clearName()

Required. Name of the active directory.

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

Returns
TypeDescription
DeleteActiveDirectoryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DeleteActiveDirectoryRequest.Builder clone()
Returns
TypeDescription
DeleteActiveDirectoryRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteActiveDirectoryRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteActiveDirectoryRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the active directory.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the active directory.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteActiveDirectoryRequest other)

public DeleteActiveDirectoryRequest.Builder mergeFrom(DeleteActiveDirectoryRequest other)
Parameter
NameDescription
otherDeleteActiveDirectoryRequest
Returns
TypeDescription
DeleteActiveDirectoryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteActiveDirectoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteActiveDirectoryRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteActiveDirectoryRequest.Builder setName(String value)

Required. Name of the active directory.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteActiveDirectoryRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteActiveDirectoryRequest.Builder setNameBytes(ByteString value)

Required. Name of the active directory.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteActiveDirectoryRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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