Class CreateDocumentResponse (0.32.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
TypeDescription
int

LONG_RUNNING_OPERATIONS_FIELD_NUMBER

public static final int LONG_RUNNING_OPERATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

RULE_ENGINE_OUTPUT_FIELD_NUMBER

public static final int RULE_ENGINE_OUTPUT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateDocumentResponse getDefaultInstance()
Returns
TypeDescription
CreateDocumentResponse

getDescriptor()

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

newBuilder()

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

newBuilder(CreateDocumentResponse prototype)

public static CreateDocumentResponse.Builder newBuilder(CreateDocumentResponse prototype)
Parameter
NameDescription
prototypeCreateDocumentResponse
Returns
TypeDescription
CreateDocumentResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CreateDocumentResponse getDefaultInstanceForType()
Returns
TypeDescription
CreateDocumentResponse

getDocument()

public Document getDocument()

Document created after executing create request.

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

Returns
TypeDescription
Document

The document.

getDocumentOrBuilder()

public DocumentOrBuilder getDocumentOrBuilder()

Document created after executing create request.

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

Returns
TypeDescription
DocumentOrBuilder

getLongRunningOperations(int index)

public Operation getLongRunningOperations(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation

getLongRunningOperationsCount()

public int getLongRunningOperationsCount()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
TypeDescription
int

getLongRunningOperationsList()

public List<Operation> getLongRunningOperationsList()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
TypeDescription
List<Operation>

getLongRunningOperationsOrBuilder(int index)

public OperationOrBuilder getLongRunningOperationsOrBuilder(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getLongRunningOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getLongRunningOperationsOrBuilderList()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ResponseMetadataOrBuilder

getParserForType()

public Parser<CreateDocumentResponse> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RuleEngineOutputOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasDocument()

public boolean hasDocument()

Document created after executing create request.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the ruleEngineOutput 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 CreateDocumentResponse.Builder newBuilderForType()
Returns
TypeDescription
CreateDocumentResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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