Class CreateDocumentResponse.Builder (0.36.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

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
NameDescription
valuesIterable<? extends com.google.longrunning.Operation>
Returns
TypeDescription
CreateDocumentResponse.Builder

addLongRunningOperations(Operation value)

public CreateDocumentResponse.Builder addLongRunningOperations(Operation value)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
NameDescription
valueOperation
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueOperation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
CreateDocumentResponse.Builder

addLongRunningOperationsBuilder()

public Operation.Builder addLongRunningOperationsBuilder()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
TypeDescription
Builder

addLongRunningOperationsBuilder(int index)

public Operation.Builder addLongRunningOperationsBuilder(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

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

clearLongRunningOperations()

public CreateDocumentResponse.Builder clearLongRunningOperations()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
TypeDescription
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
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

getLongRunningOperations(int index)

public Operation getLongRunningOperations(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation

getLongRunningOperationsBuilder(int index)

public Operation.Builder getLongRunningOperationsBuilder(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

getLongRunningOperationsBuilderList()

public List<Operation.Builder> getLongRunningOperationsBuilderList()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
TypeDescription
List<Builder>

getLongRunningOperationsCount()

public int getLongRunningOperationsCount()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
TypeDescription
int

getLongRunningOperationsList()

public List<Operation> getLongRunningOperationsList()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
TypeDescription
List<Operation>

getLongRunningOperationsOrBuilder(int index)

public OperationOrBuilder getLongRunningOperationsOrBuilder(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getLongRunningOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getLongRunningOperationsOrBuilderList()

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Returns
TypeDescription
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
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

removeLongRunningOperations(int index)

public CreateDocumentResponse.Builder removeLongRunningOperations(int index)

post-processing LROs

repeated .google.longrunning.Operation long_running_operations = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
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

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
NameDescription
indexint
valueOperation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
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
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