Class RunPipelineMetadata.IndividualDocumentStatus.Builder (0.41.0)

public static final class RunPipelineMetadata.IndividualDocumentStatus.Builder extends GeneratedMessageV3.Builder<RunPipelineMetadata.IndividualDocumentStatus.Builder> implements RunPipelineMetadata.IndividualDocumentStatusOrBuilder

The status of processing a document.

Protobuf type google.cloud.contentwarehouse.v1.RunPipelineMetadata.IndividualDocumentStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RunPipelineMetadata.IndividualDocumentStatus build()
Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus

buildPartial()

public RunPipelineMetadata.IndividualDocumentStatus buildPartial()
Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus

clear()

public RunPipelineMetadata.IndividualDocumentStatus.Builder clear()
Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus.Builder
Overrides

clearDocumentId()

public RunPipelineMetadata.IndividualDocumentStatus.Builder clearDocumentId()

Document identifier of an existing document.

string document_id = 1;

Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStatus()

public RunPipelineMetadata.IndividualDocumentStatus.Builder clearStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus.Builder

clone()

public RunPipelineMetadata.IndividualDocumentStatus.Builder clone()
Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus.Builder
Overrides

getDefaultInstanceForType()

public RunPipelineMetadata.IndividualDocumentStatus getDefaultInstanceForType()
Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus

getDescriptorForType()

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

getDocumentId()

public String getDocumentId()

Document identifier of an existing document.

string document_id = 1;

Returns
Type Description
String

The documentId.

getDocumentIdBytes()

public ByteString getDocumentIdBytes()

Document identifier of an existing document.

string document_id = 1;

Returns
Type Description
ByteString

The bytes for documentId.

getStatus()

public Status getStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

hasStatus()

public boolean hasStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RunPipelineMetadata.IndividualDocumentStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStatus(Status value)

public RunPipelineMetadata.IndividualDocumentStatus.Builder mergeStatus(Status value)

The status processing the document.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDocumentId(String value)

public RunPipelineMetadata.IndividualDocumentStatus.Builder setDocumentId(String value)

Document identifier of an existing document.

string document_id = 1;

Parameter
Name Description
value String

The documentId to set.

Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus.Builder

This builder for chaining.

setDocumentIdBytes(ByteString value)

public RunPipelineMetadata.IndividualDocumentStatus.Builder setDocumentIdBytes(ByteString value)

Document identifier of an existing document.

string document_id = 1;

Parameter
Name Description
value ByteString

The bytes for documentId to set.

Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStatus(Status value)

public RunPipelineMetadata.IndividualDocumentStatus.Builder setStatus(Status value)

The status processing the document.

.google.rpc.Status status = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus.Builder

setStatus(Status.Builder builderForValue)

public RunPipelineMetadata.IndividualDocumentStatus.Builder setStatus(Status.Builder builderForValue)

The status processing the document.

.google.rpc.Status status = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
RunPipelineMetadata.IndividualDocumentStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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