Class UpdateDocumentResponse.Builder (0.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDocumentResponse build()
Returns
TypeDescription
UpdateDocumentResponse

buildPartial()

public UpdateDocumentResponse buildPartial()
Returns
TypeDescription
UpdateDocumentResponse

clear()

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

clearDocument()

public UpdateDocumentResponse.Builder clearDocument()

Updated document after executing update request.

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

Returns
TypeDescription
UpdateDocumentResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDocumentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateDocumentResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDocumentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateDocumentResponse.Builder

clone()

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

getDefaultInstanceForType()

public UpdateDocumentResponse getDefaultInstanceForType()
Returns
TypeDescription
UpdateDocumentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocument()

public Document getDocument()

Updated document after executing update request.

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

Returns
TypeDescription
Document

The document.

getDocumentBuilder()

public Document.Builder getDocumentBuilder()

Updated document after executing update request.

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

Returns
TypeDescription
Document.Builder

getDocumentOrBuilder()

public DocumentOrBuilder getDocumentOrBuilder()

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

Updated document after executing update 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 UpdateDocumentResponse.Builder mergeDocument(Document value)

Updated document after executing update request.

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

Parameter
NameDescription
valueDocument
Returns
TypeDescription
UpdateDocumentResponse.Builder

mergeFrom(UpdateDocumentResponse other)

public UpdateDocumentResponse.Builder mergeFrom(UpdateDocumentResponse other)
Parameter
NameDescription
otherUpdateDocumentResponse
Returns
TypeDescription
UpdateDocumentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateDocumentResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueResponseMetadata
Returns
TypeDescription
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
NameDescription
valueRuleEngineOutput
Returns
TypeDescription
UpdateDocumentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDocumentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDocument
Returns
TypeDescription
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
NameDescription
builderForValueDocument.Builder
Returns
TypeDescription
UpdateDocumentResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDocumentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueResponseMetadata
Returns
TypeDescription
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
NameDescription
builderForValueResponseMetadata.Builder
Returns
TypeDescription
UpdateDocumentResponse.Builder

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

public UpdateDocumentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueRuleEngineOutput
Returns
TypeDescription
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
NameDescription
builderForValueRuleEngineOutput.Builder
Returns
TypeDescription
UpdateDocumentResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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