Class CreateDocumentResponse.Builder (0.5.0)

public static final class CreateDocumentResponse.Builder extends GeneratedMessageV3.Builder<CreateDocumentResponse.Builder> implements CreateDocumentResponseOrBuilder

Response message for DocumentService.CreateDocument.

Protobuf type google.cloud.contentwarehouse.v1.CreateDocumentResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateDocumentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides

build()

public CreateDocumentResponse build()
Returns
TypeDescription
CreateDocumentResponse

buildPartial()

public CreateDocumentResponse buildPartial()
Returns
TypeDescription
CreateDocumentResponse

clear()

public CreateDocumentResponse.Builder clear()
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides

clearDocument()

public CreateDocumentResponse.Builder clearDocument()

Document created after executing create request.

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

Returns
TypeDescription
CreateDocumentResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateDocumentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides

clearMetadata()

public CreateDocumentResponse.Builder clearMetadata()

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

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

Returns
TypeDescription
CreateDocumentResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDocumentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides

clearRuleEngineOutput()

public CreateDocumentResponse.Builder clearRuleEngineOutput()

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
CreateDocumentResponse.Builder

clone()

public CreateDocumentResponse.Builder clone()
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides

getDefaultInstanceForType()

public CreateDocumentResponse getDefaultInstanceForType()
Returns
TypeDescription
CreateDocumentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocument()

public Document getDocument()

Document created after executing create request.

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

Returns
TypeDescription
Document

The document.

getDocumentBuilder()

public Document.Builder getDocumentBuilder()

Document created after executing create request.

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

Returns
TypeDescription
Document.Builder

getDocumentOrBuilder()

public DocumentOrBuilder getDocumentOrBuilder()

Document created after executing create request.

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

Returns
TypeDescription
DocumentOrBuilder

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.

getMetadataBuilder()

public ResponseMetadata.Builder getMetadataBuilder()

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

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

Returns
TypeDescription
ResponseMetadata.Builder

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

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.

getRuleEngineOutputBuilder()

public RuleEngineOutput.Builder getRuleEngineOutputBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDocument(Document value)

public CreateDocumentResponse.Builder mergeDocument(Document value)

Document created after executing create request.

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

Parameter
NameDescription
valueDocument
Returns
TypeDescription
CreateDocumentResponse.Builder

mergeFrom(CreateDocumentResponse other)

public CreateDocumentResponse.Builder mergeFrom(CreateDocumentResponse other)
Parameter
NameDescription
otherCreateDocumentResponse
Returns
TypeDescription
CreateDocumentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateDocumentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateDocumentResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides

mergeMetadata(ResponseMetadata value)

public CreateDocumentResponse.Builder mergeMetadata(ResponseMetadata value)

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

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

Parameter
NameDescription
valueResponseMetadata
Returns
TypeDescription
CreateDocumentResponse.Builder

mergeRuleEngineOutput(RuleEngineOutput value)

public CreateDocumentResponse.Builder mergeRuleEngineOutput(RuleEngineOutput value)

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;

Parameter
NameDescription
valueRuleEngineOutput
Returns
TypeDescription
CreateDocumentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDocumentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides

setDocument(Document value)

public CreateDocumentResponse.Builder setDocument(Document value)

Document created after executing create request.

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

Parameter
NameDescription
valueDocument
Returns
TypeDescription
CreateDocumentResponse.Builder

setDocument(Document.Builder builderForValue)

public CreateDocumentResponse.Builder setDocument(Document.Builder builderForValue)

Document created after executing create request.

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

Parameter
NameDescription
builderForValueDocument.Builder
Returns
TypeDescription
CreateDocumentResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateDocumentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides

setMetadata(ResponseMetadata value)

public CreateDocumentResponse.Builder setMetadata(ResponseMetadata value)

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

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

Parameter
NameDescription
valueResponseMetadata
Returns
TypeDescription
CreateDocumentResponse.Builder

setMetadata(ResponseMetadata.Builder builderForValue)

public CreateDocumentResponse.Builder setMetadata(ResponseMetadata.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueResponseMetadata.Builder
Returns
TypeDescription
CreateDocumentResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateDocumentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides

setRuleEngineOutput(RuleEngineOutput value)

public CreateDocumentResponse.Builder setRuleEngineOutput(RuleEngineOutput value)

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;

Parameter
NameDescription
valueRuleEngineOutput
Returns
TypeDescription
CreateDocumentResponse.Builder

setRuleEngineOutput(RuleEngineOutput.Builder builderForValue)

public CreateDocumentResponse.Builder setRuleEngineOutput(RuleEngineOutput.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueRuleEngineOutput.Builder
Returns
TypeDescription
CreateDocumentResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateDocumentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateDocumentResponse.Builder
Overrides