Send feedback
Class CreateDocumentResponse (0.72.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class CreateDocumentResponse extends GeneratedMessageV3 implements CreateDocumentResponseOrBuilder
Response message for DocumentService.CreateDocument.
Protobuf type google.cloud.contentwarehouse.v1.CreateDocumentResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static CreateDocumentResponse . Builder newBuilder ()
newBuilder(CreateDocumentResponse prototype)
public static CreateDocumentResponse . Builder newBuilder ( CreateDocumentResponse prototype )
parseDelimitedFrom(InputStream input)
public static CreateDocumentResponse parseDelimitedFrom ( InputStream input )
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static CreateDocumentResponse parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static CreateDocumentResponse parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
parseFrom(CodedInputStream input)
public static CreateDocumentResponse parseFrom ( CodedInputStream input )
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(InputStream input)
public static CreateDocumentResponse parseFrom ( InputStream input )
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static CreateDocumentResponse parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<CreateDocumentResponse> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public CreateDocumentResponse getDefaultInstanceForType ()
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;
getLongRunningOperations(int index)
public Operation getLongRunningOperations ( int index )
post-processing LROs
repeated .google.longrunning.Operation long_running_operations = 4;
Parameter
Name
Description
index
int
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;
getLongRunningOperationsOrBuilder(int index)
public OperationOrBuilder getLongRunningOperationsOrBuilder ( int index )
post-processing LROs
repeated .google.longrunning.Operation long_running_operations = 4;
Parameter
Name
Description
index
int
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;
getMetadataOrBuilder()
public ResponseMetadataOrBuilder getMetadataOrBuilder ()
Additional information for the API invocation, such as the request tracking
id.
.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 3;
getParserForType()
public Parser<CreateDocumentResponse> getParserForType ()
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;
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;
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()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public CreateDocumentResponse . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateDocumentResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public CreateDocumentResponse . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]