public final class CreateActiveDirectoryRequest extends GeneratedMessageV3 implements CreateActiveDirectoryRequestOrBuilder
CreateActiveDirectoryRequest for creating an active directory.
Protobuf type google.cloud.netapp.v1.CreateActiveDirectoryRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateActiveDirectoryRequestImplements
CreateActiveDirectoryRequestOrBuilderStatic Fields
ACTIVE_DIRECTORY_FIELD_NUMBER
public static final int ACTIVE_DIRECTORY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ACTIVE_DIRECTORY_ID_FIELD_NUMBER
public static final int ACTIVE_DIRECTORY_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CreateActiveDirectoryRequest getDefaultInstance()
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CreateActiveDirectoryRequest.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest.Builder |
newBuilder(CreateActiveDirectoryRequest prototype)
public static CreateActiveDirectoryRequest.Builder newBuilder(CreateActiveDirectoryRequest prototype)
Parameter | |
---|---|
Name | Description |
prototype | CreateActiveDirectoryRequest |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest.Builder |
parseDelimitedFrom(InputStream input)
public static CreateActiveDirectoryRequest parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateActiveDirectoryRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CreateActiveDirectoryRequest parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateActiveDirectoryRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CreateActiveDirectoryRequest parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateActiveDirectoryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CreateActiveDirectoryRequest parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateActiveDirectoryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CreateActiveDirectoryRequest parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateActiveDirectoryRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CreateActiveDirectoryRequest parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateActiveDirectoryRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CreateActiveDirectoryRequest> parser()
Returns | |
---|---|
Type | Description |
Parser<CreateActiveDirectoryRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ActiveDirectoryOrBuilder |
getDefaultInstanceForType()
public CreateActiveDirectoryRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest |
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. |
getParserForType()
public Parser<CreateActiveDirectoryRequest> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CreateActiveDirectoryRequest> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CreateActiveDirectoryRequest.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateActiveDirectoryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CreateActiveDirectoryRequest.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CreateActiveDirectoryRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |