Class RunPipelineMetadata.IndividualDocumentStatus.Builder (0.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RunPipelineMetadata.IndividualDocumentStatus build()
Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus

buildPartial()

public RunPipelineMetadata.IndividualDocumentStatus buildPartial()
Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus

clear()

public RunPipelineMetadata.IndividualDocumentStatus.Builder clear()
Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus.Builder
Overrides

clearDocumentId()

public RunPipelineMetadata.IndividualDocumentStatus.Builder clearDocumentId()

Document identifier of an existing document.

string document_id = 1;

Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RunPipelineMetadata.IndividualDocumentStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RunPipelineMetadata.IndividualDocumentStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus.Builder
Overrides

clearStatus()

public RunPipelineMetadata.IndividualDocumentStatus.Builder clearStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus.Builder

clone()

public RunPipelineMetadata.IndividualDocumentStatus.Builder clone()
Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus.Builder
Overrides

getDefaultInstanceForType()

public RunPipelineMetadata.IndividualDocumentStatus getDefaultInstanceForType()
Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocumentId()

public String getDocumentId()

Document identifier of an existing document.

string document_id = 1;

Returns
TypeDescription
String

The documentId.

getDocumentIdBytes()

public ByteString getDocumentIdBytes()

Document identifier of an existing document.

string document_id = 1;

Returns
TypeDescription
ByteString

The bytes for documentId.

getStatus()

public Status getStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status

The status.

getStatusBuilder()

public Status.Builder getStatusBuilder()

The status processing the document.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.Status.Builder

getStatusOrBuilder()

public StatusOrBuilder getStatusOrBuilder()

The status processing the document.

.google.rpc.Status status = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

hasStatus()

public boolean hasStatus()

The status processing the document.

.google.rpc.Status status = 2;

Returns
TypeDescription
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RunPipelineMetadata.IndividualDocumentStatus other)

public RunPipelineMetadata.IndividualDocumentStatus.Builder mergeFrom(RunPipelineMetadata.IndividualDocumentStatus other)
Parameter
NameDescription
otherRunPipelineMetadata.IndividualDocumentStatus
Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RunPipelineMetadata.IndividualDocumentStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RunPipelineMetadata.IndividualDocumentStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The documentId to set.

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

The bytes for documentId to set.

Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RunPipelineMetadata.IndividualDocumentStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
RunPipelineMetadata.IndividualDocumentStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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