Class ImportDocumentsResponse.Builder (4.7.5)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
ImportDocumentsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addWarningsBuilder()

public Status.Builder addWarningsBuilder()

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

build()

public ImportDocumentsResponse build()
Returns
TypeDescription
ImportDocumentsResponse

buildPartial()

public ImportDocumentsResponse buildPartial()
Returns
TypeDescription
ImportDocumentsResponse

clear()

public ImportDocumentsResponse.Builder clear()
Returns
TypeDescription
ImportDocumentsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWarnings()

public ImportDocumentsResponse.Builder clearWarnings()

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Returns
TypeDescription
ImportDocumentsResponse.Builder

clone()

public ImportDocumentsResponse.Builder clone()
Returns
TypeDescription
ImportDocumentsResponse.Builder
Overrides

getDefaultInstanceForType()

public ImportDocumentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportDocumentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

getWarningsList()

public List<Status> getWarningsList()

Includes details about skipped documents or any other warnings.

repeated .google.rpc.Status warnings = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportDocumentsResponse other)

public ImportDocumentsResponse.Builder mergeFrom(ImportDocumentsResponse other)
Parameter
NameDescription
otherImportDocumentsResponse
Returns
TypeDescription
ImportDocumentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportDocumentsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportDocumentsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImportDocumentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportDocumentsResponse.Builder
Overrides

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

public ImportDocumentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportDocumentsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportDocumentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ImportDocumentsResponse.Builder