Class CreateActiveDirectoryRequest (0.15.0)

public final class CreateActiveDirectoryRequest extends GeneratedMessageV3 implements CreateActiveDirectoryRequestOrBuilder

CreateActiveDirectoryRequest for creating an active directory.

Protobuf type google.cloud.netapp.v1.CreateActiveDirectoryRequest

Static Fields

ACTIVE_DIRECTORY_FIELD_NUMBER

public static final int ACTIVE_DIRECTORY_FIELD_NUMBER
Field Value
TypeDescription
int

ACTIVE_DIRECTORY_ID_FIELD_NUMBER

public static final int ACTIVE_DIRECTORY_ID_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateActiveDirectoryRequest getDefaultInstance()
Returns
TypeDescription
CreateActiveDirectoryRequest

getDescriptor()

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

newBuilder()

public static CreateActiveDirectoryRequest.Builder newBuilder()
Returns
TypeDescription
CreateActiveDirectoryRequest.Builder

newBuilder(CreateActiveDirectoryRequest prototype)

public static CreateActiveDirectoryRequest.Builder newBuilder(CreateActiveDirectoryRequest prototype)
Parameter
NameDescription
prototypeCreateActiveDirectoryRequest
Returns
TypeDescription
CreateActiveDirectoryRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateActiveDirectoryRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateActiveDirectoryRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateActiveDirectoryRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateActiveDirectoryRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateActiveDirectoryRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateActiveDirectoryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateActiveDirectoryRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateActiveDirectoryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateActiveDirectoryRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateActiveDirectoryRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateActiveDirectoryRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateActiveDirectoryRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateActiveDirectoryRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateActiveDirectoryRequest> parser()
Returns
TypeDescription
Parser<CreateActiveDirectoryRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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.

getParserForType()

public Parser<CreateActiveDirectoryRequest> getParserForType()
Returns
TypeDescription
Parser<CreateActiveDirectoryRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateActiveDirectoryRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateActiveDirectoryRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateActiveDirectoryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateActiveDirectoryRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateActiveDirectoryRequest.Builder toBuilder()
Returns
TypeDescription
CreateActiveDirectoryRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException