Class UpdateDocumentResponse.Builder (0.44.0)

public static final class UpdateDocumentResponse.Builder extends GeneratedMessageV3.Builder<UpdateDocumentResponse.Builder> implements UpdateDocumentResponseOrBuilder

Response message for DocumentService.UpdateDocument.

Protobuf type google.cloud.contentwarehouse.v1.UpdateDocumentResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDocumentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides

build()

public UpdateDocumentResponse build()
Returns
Type Description
UpdateDocumentResponse

buildPartial()

public UpdateDocumentResponse buildPartial()
Returns
Type Description
UpdateDocumentResponse

clear()

public UpdateDocumentResponse.Builder clear()
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides

clearDocument()

public UpdateDocumentResponse.Builder clearDocument()

Updated document after executing update request.

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

Returns
Type Description
UpdateDocumentResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDocumentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides

clearMetadata()

public UpdateDocumentResponse.Builder clearMetadata()

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

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

Returns
Type Description
UpdateDocumentResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDocumentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides

clearRuleEngineOutput()

public UpdateDocumentResponse.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
Type Description
UpdateDocumentResponse.Builder

clone()

public UpdateDocumentResponse.Builder clone()
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides

getDefaultInstanceForType()

public UpdateDocumentResponse getDefaultInstanceForType()
Returns
Type Description
UpdateDocumentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDocument()

public Document getDocument()

Updated document after executing update request.

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

Returns
Type Description
Document

The document.

getDocumentBuilder()

public Document.Builder getDocumentBuilder()

Updated document after executing update request.

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

Returns
Type Description
Document.Builder

getDocumentOrBuilder()

public DocumentOrBuilder getDocumentOrBuilder()

Updated document after executing update request.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
RuleEngineOutputOrBuilder

hasDocument()

public boolean hasDocument()

Updated document after executing update 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDocument(Document value)

public UpdateDocumentResponse.Builder mergeDocument(Document value)

Updated document after executing update request.

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

Parameter
Name Description
value Document
Returns
Type Description
UpdateDocumentResponse.Builder

mergeFrom(UpdateDocumentResponse other)

public UpdateDocumentResponse.Builder mergeFrom(UpdateDocumentResponse other)
Parameter
Name Description
other UpdateDocumentResponse
Returns
Type Description
UpdateDocumentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDocumentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateDocumentResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides

mergeMetadata(ResponseMetadata value)

public UpdateDocumentResponse.Builder mergeMetadata(ResponseMetadata value)

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

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

Parameter
Name Description
value ResponseMetadata
Returns
Type Description
UpdateDocumentResponse.Builder

mergeRuleEngineOutput(RuleEngineOutput value)

public UpdateDocumentResponse.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
Name Description
value RuleEngineOutput
Returns
Type Description
UpdateDocumentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDocumentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides

setDocument(Document value)

public UpdateDocumentResponse.Builder setDocument(Document value)

Updated document after executing update request.

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

Parameter
Name Description
value Document
Returns
Type Description
UpdateDocumentResponse.Builder

setDocument(Document.Builder builderForValue)

public UpdateDocumentResponse.Builder setDocument(Document.Builder builderForValue)

Updated document after executing update request.

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

Parameter
Name Description
builderForValue Document.Builder
Returns
Type Description
UpdateDocumentResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDocumentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides

setMetadata(ResponseMetadata value)

public UpdateDocumentResponse.Builder setMetadata(ResponseMetadata value)

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

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

Parameter
Name Description
value ResponseMetadata
Returns
Type Description
UpdateDocumentResponse.Builder

setMetadata(ResponseMetadata.Builder builderForValue)

public UpdateDocumentResponse.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
Name Description
builderForValue ResponseMetadata.Builder
Returns
Type Description
UpdateDocumentResponse.Builder

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

public UpdateDocumentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides

setRuleEngineOutput(RuleEngineOutput value)

public UpdateDocumentResponse.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
Name Description
value RuleEngineOutput
Returns
Type Description
UpdateDocumentResponse.Builder

setRuleEngineOutput(RuleEngineOutput.Builder builderForValue)

public UpdateDocumentResponse.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
Name Description
builderForValue RuleEngineOutput.Builder
Returns
Type Description
UpdateDocumentResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDocumentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDocumentResponse.Builder
Overrides