Class ValidateDirectoryServiceRequest.Builder (0.62.0)

public static final class ValidateDirectoryServiceRequest.Builder extends GeneratedMessage.Builder<ValidateDirectoryServiceRequest.Builder> implements ValidateDirectoryServiceRequestOrBuilder

ValidateDirectoryServiceRequest validates the directory service policy attached to the storage pool.

Protobuf type google.cloud.netapp.v1.ValidateDirectoryServiceRequest

Static Methods

getDescriptor()

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

Methods

build()

public ValidateDirectoryServiceRequest build()
Returns
Type Description
ValidateDirectoryServiceRequest

buildPartial()

public ValidateDirectoryServiceRequest buildPartial()
Returns
Type Description
ValidateDirectoryServiceRequest

clear()

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

clearDirectoryServiceType()

public ValidateDirectoryServiceRequest.Builder clearDirectoryServiceType()

Type of directory service policy attached to the storage pool.

.google.cloud.netapp.v1.DirectoryServiceType directory_service_type = 2;

Returns
Type Description
ValidateDirectoryServiceRequest.Builder

This builder for chaining.

clearName()

public ValidateDirectoryServiceRequest.Builder clearName()

Required. Name of the storage pool

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

Returns
Type Description
ValidateDirectoryServiceRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ValidateDirectoryServiceRequest getDefaultInstanceForType()
Returns
Type Description
ValidateDirectoryServiceRequest

getDescriptorForType()

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

getDirectoryServiceType()

public DirectoryServiceType getDirectoryServiceType()

Type of directory service policy attached to the storage pool.

.google.cloud.netapp.v1.DirectoryServiceType directory_service_type = 2;

Returns
Type Description
DirectoryServiceType

The directoryServiceType.

getDirectoryServiceTypeValue()

public int getDirectoryServiceTypeValue()

Type of directory service policy attached to the storage pool.

.google.cloud.netapp.v1.DirectoryServiceType directory_service_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for directoryServiceType.

getName()

public String getName()

Required. Name of the storage pool

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the storage pool

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ValidateDirectoryServiceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDirectoryServiceType(DirectoryServiceType value)

public ValidateDirectoryServiceRequest.Builder setDirectoryServiceType(DirectoryServiceType value)

Type of directory service policy attached to the storage pool.

.google.cloud.netapp.v1.DirectoryServiceType directory_service_type = 2;

Parameter
Name Description
value DirectoryServiceType

The directoryServiceType to set.

Returns
Type Description
ValidateDirectoryServiceRequest.Builder

This builder for chaining.

setDirectoryServiceTypeValue(int value)

public ValidateDirectoryServiceRequest.Builder setDirectoryServiceTypeValue(int value)

Type of directory service policy attached to the storage pool.

.google.cloud.netapp.v1.DirectoryServiceType directory_service_type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for directoryServiceType to set.

Returns
Type Description
ValidateDirectoryServiceRequest.Builder

This builder for chaining.

setName(String value)

public ValidateDirectoryServiceRequest.Builder setName(String value)

Required. Name of the storage pool

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ValidateDirectoryServiceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ValidateDirectoryServiceRequest.Builder setNameBytes(ByteString value)

Required. Name of the storage pool

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ValidateDirectoryServiceRequest.Builder

This builder for chaining.