Class ValidateDirectoryServiceRequest.Builder (0.35.0)

public static final class ValidateDirectoryServiceRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidateDirectoryServiceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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