Class CreateDocumentResponse.Builder (0.42.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
Type Description
Descriptor

Methods

addAllLongRunningOperations(Iterable<? extends Operation> values)

public CreateDocumentResponse.Builder addAllLongRunningOperations(Iterable<? extends Operation> values)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
Name Description
values Iterable<? extends com.google.longrunning.Operation>
Returns
Type Description
CreateDocumentResponse.Builder

addLongRunningOperations(Operation value)

public CreateDocumentResponse.Builder addLongRunningOperations(Operation value)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
Name Description
value Operation
Returns
Type Description
CreateDocumentResponse.Builder

addLongRunningOperations(Operation.Builder builderForValue)

public CreateDocumentResponse.Builder addLongRunningOperations(Operation.Builder builderForValue)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CreateDocumentResponse.Builder

addLongRunningOperations(int index, Operation value)

public CreateDocumentResponse.Builder addLongRunningOperations(int index, Operation value)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameters
Name Description
index int
value Operation
Returns
Type Description
CreateDocumentResponse.Builder

addLongRunningOperations(int index, Operation.Builder builderForValue)

public CreateDocumentResponse.Builder addLongRunningOperations(int index, Operation.Builder builderForValue)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
CreateDocumentResponse.Builder

addLongRunningOperationsBuilder()

public Operation.Builder addLongRunningOperationsBuilder()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
Type Description
Builder

addLongRunningOperationsBuilder(int index)

public Operation.Builder addLongRunningOperationsBuilder(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
Name Description
index int
Returns
Type Description
Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDocumentResponse build()
Returns
Type Description
CreateDocumentResponse

buildPartial()

public CreateDocumentResponse buildPartial()
Returns
Type Description
CreateDocumentResponse

clear()

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

clearDocument()

public CreateDocumentResponse.Builder clearDocument()

Document created after executing create request.

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

Returns
Type Description
CreateDocumentResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLongRunningOperations()

public CreateDocumentResponse.Builder clearLongRunningOperations()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
Type Description
CreateDocumentResponse.Builder

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDocumentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
CreateDocumentResponse.Builder

clone()

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

getDefaultInstanceForType()

public CreateDocumentResponse getDefaultInstanceForType()
Returns
Type Description
CreateDocumentResponse

getDescriptorForType()

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

getDocument()

public Document getDocument()

Document created after executing create request.

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

Returns
Type Description
Document

The document.

getDocumentBuilder()

public Document.Builder getDocumentBuilder()

Document created after executing create request.

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

Returns
Type Description
Document.Builder

getDocumentOrBuilder()

public DocumentOrBuilder getDocumentOrBuilder()

Document created after executing create request.

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

Returns
Type Description
DocumentOrBuilder

getLongRunningOperations(int index)

public Operation getLongRunningOperations(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
Name Description
index int
Returns
Type Description
Operation

getLongRunningOperationsBuilder(int index)

public Operation.Builder getLongRunningOperationsBuilder(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
Name Description
index int
Returns
Type Description
Builder

getLongRunningOperationsBuilderList()

public List<Operation.Builder> getLongRunningOperationsBuilderList()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
Type Description
List<Builder>

getLongRunningOperationsCount()

public int getLongRunningOperationsCount()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
Type Description
int

getLongRunningOperationsList()

public List<Operation> getLongRunningOperationsList()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
Type Description
List<Operation>

getLongRunningOperationsOrBuilder(int index)

public OperationOrBuilder getLongRunningOperationsOrBuilder(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
Name Description
index int
Returns
Type Description
OperationOrBuilder

getLongRunningOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getLongRunningOperationsOrBuilderList()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
Type Description
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
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()

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Document
Returns
Type Description
CreateDocumentResponse.Builder

mergeFrom(CreateDocumentResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateDocumentResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value ResponseMetadata
Returns
Type Description
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
Name Description
value RuleEngineOutput
Returns
Type Description
CreateDocumentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeLongRunningOperations(int index)

public CreateDocumentResponse.Builder removeLongRunningOperations(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
Name Description
index int
Returns
Type Description
CreateDocumentResponse.Builder

setDocument(Document value)

public CreateDocumentResponse.Builder setDocument(Document value)

Document created after executing create request.

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

Parameter
Name Description
value Document
Returns
Type Description
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
Name Description
builderForValue Document.Builder
Returns
Type Description
CreateDocumentResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLongRunningOperations(int index, Operation value)

public CreateDocumentResponse.Builder setLongRunningOperations(int index, Operation value)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameters
Name Description
index int
value Operation
Returns
Type Description
CreateDocumentResponse.Builder

setLongRunningOperations(int index, Operation.Builder builderForValue)

public CreateDocumentResponse.Builder setLongRunningOperations(int index, Operation.Builder builderForValue)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
CreateDocumentResponse.Builder

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

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

public CreateDocumentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value RuleEngineOutput
Returns
Type Description
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
Name Description
builderForValue RuleEngineOutput.Builder
Returns
Type Description
CreateDocumentResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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