Class ImportDocumentsResponse.Builder (4.49.0)

public static final class ImportDocumentsResponse.Builder extends GeneratedMessageV3.Builder<ImportDocumentsResponse.Builder> implements ImportDocumentsResponseOrBuilder

Response message for Documents.ImportDocuments.

Protobuf type google.cloud.dialogflow.v2.ImportDocumentsResponse

Static Methods

getDescriptor()

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

Methods

addAllWarnings(Iterable<? extends Status> values)

public ImportDocumentsResponse.Builder addAllWarnings(Iterable<? extends Status> values)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Parameter
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
ImportDocumentsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addWarnings(Status value)

public ImportDocumentsResponse.Builder addWarnings(Status value)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

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

addWarnings(Status.Builder builderForValue)

public ImportDocumentsResponse.Builder addWarnings(Status.Builder builderForValue)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

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

addWarnings(int index, Status value)

public ImportDocumentsResponse.Builder addWarnings(int index, Status value)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ImportDocumentsResponse.Builder

addWarnings(int index, Status.Builder builderForValue)

public ImportDocumentsResponse.Builder addWarnings(int index, Status.Builder builderForValue)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportDocumentsResponse.Builder

addWarningsBuilder()

public Status.Builder addWarningsBuilder()

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

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

addWarningsBuilder(int index)

public Status.Builder addWarningsBuilder(int index)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

build()

public ImportDocumentsResponse build()
Returns
Type Description
ImportDocumentsResponse

buildPartial()

public ImportDocumentsResponse buildPartial()
Returns
Type Description
ImportDocumentsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarnings()

public ImportDocumentsResponse.Builder clearWarnings()

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Returns
Type Description
ImportDocumentsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ImportDocumentsResponse getDefaultInstanceForType()
Returns
Type Description
ImportDocumentsResponse

getDescriptorForType()

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

getWarnings(int index)

public Status getWarnings(int index)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getWarningsBuilder(int index)

public Status.Builder getWarningsBuilder(int index)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status.Builder

getWarningsBuilderList()

public List<Status.Builder> getWarningsBuilderList()

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Returns
Type Description
List<com.google.rpc.Status.Builder>

getWarningsCount()

public int getWarningsCount()

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Returns
Type Description
int

getWarningsList()

public List<Status> getWarningsList()

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Returns
Type Description
List<com.google.rpc.Status>

getWarningsOrBuilder(int index)

public StatusOrBuilder getWarningsOrBuilder(int index)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getWarningsOrBuilderList()

public List<? extends StatusOrBuilder> getWarningsOrBuilderList()

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportDocumentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeWarnings(int index)

public ImportDocumentsResponse.Builder removeWarnings(int index)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportDocumentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWarnings(int index, Status value)

public ImportDocumentsResponse.Builder setWarnings(int index, Status value)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ImportDocumentsResponse.Builder

setWarnings(int index, Status.Builder builderForValue)

public ImportDocumentsResponse.Builder setWarnings(int index, Status.Builder builderForValue)

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportDocumentsResponse.Builder