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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
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
buildPartial()
public ImportDocumentsResponse buildPartial()
Returns
clear()
public ImportDocumentsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportDocumentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDocumentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWarnings()
public ImportDocumentsResponse.Builder clearWarnings()
Includes details about skipped documents or any other warnings.
repeated .google.rpc.Status warnings = 1;
Returns
clone()
public ImportDocumentsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ImportDocumentsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ImportDocumentsResponse other)
public ImportDocumentsResponse.Builder mergeFrom(ImportDocumentsResponse other)
Parameter
Returns
public ImportDocumentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportDocumentsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDocumentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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