Class CreateDocumentResponse (0.41.0)

public final class CreateDocumentResponse extends GeneratedMessageV3 implements CreateDocumentResponseOrBuilder

Response message for DocumentService.CreateDocument.

Protobuf type google.cloud.contentwarehouse.v1.CreateDocumentResponse

Static Fields

DOCUMENT_FIELD_NUMBER

public static final int DOCUMENT_FIELD_NUMBER
Field Value
Type Description
int

LONG_RUNNING_OPERATIONS_FIELD_NUMBER

public static final int LONG_RUNNING_OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

RULE_ENGINE_OUTPUT_FIELD_NUMBER

public static final int RULE_ENGINE_OUTPUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateDocumentResponse getDefaultInstance()
Returns
Type Description
CreateDocumentResponse

getDescriptor()

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

newBuilder()

public static CreateDocumentResponse.Builder newBuilder()
Returns
Type Description
CreateDocumentResponse.Builder

newBuilder(CreateDocumentResponse prototype)

public static CreateDocumentResponse.Builder newBuilder(CreateDocumentResponse prototype)
Parameter
Name Description
prototype CreateDocumentResponse
Returns
Type Description
CreateDocumentResponse.Builder

parseDelimitedFrom(InputStream input)

public static CreateDocumentResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDocumentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateDocumentResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateDocumentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateDocumentResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateDocumentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateDocumentResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDocumentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateDocumentResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateDocumentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateDocumentResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateDocumentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDocumentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateDocumentResponse> parser()
Returns
Type Description
Parser<CreateDocumentResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateDocumentResponse getDefaultInstanceForType()
Returns
Type Description
CreateDocumentResponse

getDocument()

public Document getDocument()

Document created after executing create request.

.google.cloud.contentwarehouse.v1.Document document = 1;

Returns
Type Description
Document

The document.

getDocumentOrBuilder()

public DocumentOrBuilder getDocumentOrBuilder()

Document created after executing create request.

.google.cloud.contentwarehouse.v1.Document document = 1;

Returns
Type Description
DocumentOrBuilder

getLongRunningOperations(int index)

public Operation getLongRunningOperations(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
Name Description
index int
Returns
Type Description
Operation

getLongRunningOperationsCount()

public int getLongRunningOperationsCount()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
Type Description
int

getLongRunningOperationsList()

public List<Operation> getLongRunningOperationsList()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
Type Description
List<Operation>

getLongRunningOperationsOrBuilder(int index)

public OperationOrBuilder getLongRunningOperationsOrBuilder(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
Name Description
index int
Returns
Type Description
OperationOrBuilder

getLongRunningOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getLongRunningOperationsOrBuilderList()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
Type Description
List<? extends com.google.longrunning.OperationOrBuilder>

getMetadata()

public ResponseMetadata getMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 3;

Returns
Type Description
ResponseMetadata

The metadata.

getMetadataOrBuilder()

public ResponseMetadataOrBuilder getMetadataOrBuilder()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 3;

Returns
Type Description
ResponseMetadataOrBuilder

getParserForType()

public Parser<CreateDocumentResponse> getParserForType()
Returns
Type Description
Parser<CreateDocumentResponse>
Overrides

getRuleEngineOutput()

public RuleEngineOutput getRuleEngineOutput()

Output from Rule Engine recording the rule evaluator and action executor's output.

Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto

.google.cloud.contentwarehouse.v1.RuleEngineOutput rule_engine_output = 2;

Returns
Type Description
RuleEngineOutput

The ruleEngineOutput.

getRuleEngineOutputOrBuilder()

public RuleEngineOutputOrBuilder getRuleEngineOutputOrBuilder()

Output from Rule Engine recording the rule evaluator and action executor's output.

Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto

.google.cloud.contentwarehouse.v1.RuleEngineOutput rule_engine_output = 2;

Returns
Type Description
RuleEngineOutputOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDocument()

public boolean hasDocument()

Document created after executing create request.

.google.cloud.contentwarehouse.v1.Document document = 1;

Returns
Type Description
boolean

Whether the document field is set.

hasMetadata()

public boolean hasMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 3;

Returns
Type Description
boolean

Whether the metadata field is set.

hasRuleEngineOutput()

public boolean hasRuleEngineOutput()

Output from Rule Engine recording the rule evaluator and action executor's output.

Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto

.google.cloud.contentwarehouse.v1.RuleEngineOutput rule_engine_output = 2;

Returns
Type Description
boolean

Whether the ruleEngineOutput field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateDocumentResponse.Builder newBuilderForType()
Returns
Type Description
CreateDocumentResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateDocumentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateDocumentResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateDocumentResponse.Builder toBuilder()
Returns
Type Description
CreateDocumentResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException