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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateActiveDirectoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateActiveDirectoryRequest build()
buildPartial()
public CreateActiveDirectoryRequest buildPartial()
clear()
public CreateActiveDirectoryRequest.Builder clear()
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];
clearActiveDirectoryId()
public CreateActiveDirectoryRequest.Builder clearActiveDirectoryId()
Required. ID of the active directory to create. Must be unique within the
parent resource. Must contain only letters, numbers and hyphen, with the
first character a letter , the last a letter or a number, and a 63
character maximum.
string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateActiveDirectoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateActiveDirectoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateActiveDirectoryRequest.Builder clearParent()
Required. Value for parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateActiveDirectoryRequest.Builder clone()
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];
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];
getActiveDirectoryId()
public String getActiveDirectoryId()
Required. ID of the active directory to create. Must be unique within the
parent resource. Must contain only letters, numbers and hyphen, with the
first character a letter , the last a letter or a number, and a 63
character maximum.
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. Must be unique within the
parent resource. Must contain only letters, numbers and hyphen, with the
first character a letter , the last a letter or a number, and a 63
character maximum.
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];
getDefaultInstanceForType()
public CreateActiveDirectoryRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateActiveDirectoryRequest other)
public CreateActiveDirectoryRequest.Builder mergeFrom(CreateActiveDirectoryRequest other)
public CreateActiveDirectoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateActiveDirectoryRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateActiveDirectoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setActiveDirectoryId(String value)
public CreateActiveDirectoryRequest.Builder setActiveDirectoryId(String value)
Required. ID of the active directory to create. Must be unique within the
parent resource. Must contain only letters, numbers and hyphen, with the
first character a letter , the last a letter or a number, and a 63
character maximum.
string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The activeDirectoryId to set.
|
setActiveDirectoryIdBytes(ByteString value)
public CreateActiveDirectoryRequest.Builder setActiveDirectoryIdBytes(ByteString value)
Required. ID of the active directory to create. Must be unique within the
parent resource. Must contain only letters, numbers and hyphen, with the
first character a letter , the last a letter or a number, and a 63
character maximum.
string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for activeDirectoryId to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateActiveDirectoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateActiveDirectoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateActiveDirectoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides