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
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
Field Value
RULE_ENGINE_OUTPUT_FIELD_NUMBER
public static final int RULE_ENGINE_OUTPUT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateDocumentResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateDocumentResponse.Builder newBuilder()
Returns
newBuilder(CreateDocumentResponse prototype)
public static CreateDocumentResponse.Builder newBuilder(CreateDocumentResponse prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static CreateDocumentResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateDocumentResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateDocumentResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static CreateDocumentResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static CreateDocumentResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateDocumentResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateDocumentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateDocumentResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CreateDocumentResponse getDefaultInstanceForType()
Returns
getDocument()
public Document getDocument()
Document created after executing create request.
.google.cloud.contentwarehouse.v1.Document document = 1;
Returns
getDocumentOrBuilder()
public DocumentOrBuilder getDocumentOrBuilder()
Document created after executing create request.
.google.cloud.contentwarehouse.v1.Document document = 1;
Returns
getMetadata()
public ResponseMetadata getMetadata()
Additional information for the API invocation, such as the request tracking
id.
.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 3;
Returns
getMetadataOrBuilder()
public ResponseMetadataOrBuilder getMetadataOrBuilder()
Additional information for the API invocation, such as the request tracking
id.
.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 3;
Returns
getParserForType()
public Parser<CreateDocumentResponse> getParserForType()
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateDocumentResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateDocumentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CreateDocumentResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions