public static final class ImportSuggestionDenyListEntriesResponse.Builder extends GeneratedMessageV3.Builder<ImportSuggestionDenyListEntriesResponse.Builder> implements ImportSuggestionDenyListEntriesResponseOrBuilder
Response message for
CompletionService.ImportSuggestionDenyListEntries
method.
Protobuf type
google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllErrorSamples(Iterable<? extends Status> values)
public ImportSuggestionDenyListEntriesResponse.Builder addAllErrorSamples(Iterable<? extends Status> values)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.rpc.Status>
|
addErrorSamples(Status value)
public ImportSuggestionDenyListEntriesResponse.Builder addErrorSamples(Status value)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
value | com.google.rpc.Status
|
addErrorSamples(Status.Builder builderForValue)
public ImportSuggestionDenyListEntriesResponse.Builder addErrorSamples(Status.Builder builderForValue)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
addErrorSamples(int index, Status value)
public ImportSuggestionDenyListEntriesResponse.Builder addErrorSamples(int index, Status value)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameters |
---|
Name | Description |
index | int
|
value | com.google.rpc.Status
|
addErrorSamples(int index, Status.Builder builderForValue)
public ImportSuggestionDenyListEntriesResponse.Builder addErrorSamples(int index, Status.Builder builderForValue)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | com.google.rpc.Status.Builder
|
addErrorSamplesBuilder()
public Status.Builder addErrorSamplesBuilder()
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Returns |
---|
Type | Description |
com.google.rpc.Status.Builder | |
addErrorSamplesBuilder(int index)
public Status.Builder addErrorSamplesBuilder(int index)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.rpc.Status.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportSuggestionDenyListEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportSuggestionDenyListEntriesResponse build()
buildPartial()
public ImportSuggestionDenyListEntriesResponse buildPartial()
clear()
public ImportSuggestionDenyListEntriesResponse.Builder clear()
Overrides
clearErrorSamples()
public ImportSuggestionDenyListEntriesResponse.Builder clearErrorSamples()
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
clearFailedEntriesCount()
public ImportSuggestionDenyListEntriesResponse.Builder clearFailedEntriesCount()
Count of deny list entries that failed to be imported.
int64 failed_entries_count = 3;
clearField(Descriptors.FieldDescriptor field)
public ImportSuggestionDenyListEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearImportedEntriesCount()
public ImportSuggestionDenyListEntriesResponse.Builder clearImportedEntriesCount()
Count of deny list entries successfully imported.
int64 imported_entries_count = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportSuggestionDenyListEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImportSuggestionDenyListEntriesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ImportSuggestionDenyListEntriesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getErrorSamples(int index)
public Status getErrorSamples(int index)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.rpc.Status | |
getErrorSamplesBuilder(int index)
public Status.Builder getErrorSamplesBuilder(int index)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.rpc.Status.Builder | |
getErrorSamplesBuilderList()
public List<Status.Builder> getErrorSamplesBuilderList()
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Returns |
---|
Type | Description |
List<com.google.rpc.Status.Builder> | |
getErrorSamplesCount()
public int getErrorSamplesCount()
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Returns |
---|
Type | Description |
int | |
getErrorSamplesList()
public List<Status> getErrorSamplesList()
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Returns |
---|
Type | Description |
List<com.google.rpc.Status> | |
getErrorSamplesOrBuilder(int index)
public StatusOrBuilder getErrorSamplesOrBuilder(int index)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.rpc.StatusOrBuilder | |
getErrorSamplesOrBuilderList()
public List<? extends StatusOrBuilder> getErrorSamplesOrBuilderList()
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Returns |
---|
Type | Description |
List<? extends com.google.rpc.StatusOrBuilder> | |
getFailedEntriesCount()
public long getFailedEntriesCount()
Count of deny list entries that failed to be imported.
int64 failed_entries_count = 3;
Returns |
---|
Type | Description |
long | The failedEntriesCount.
|
getImportedEntriesCount()
public long getImportedEntriesCount()
Count of deny list entries successfully imported.
int64 imported_entries_count = 2;
Returns |
---|
Type | Description |
long | The importedEntriesCount.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImportSuggestionDenyListEntriesResponse other)
public ImportSuggestionDenyListEntriesResponse.Builder mergeFrom(ImportSuggestionDenyListEntriesResponse other)
public ImportSuggestionDenyListEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportSuggestionDenyListEntriesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportSuggestionDenyListEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeErrorSamples(int index)
public ImportSuggestionDenyListEntriesResponse.Builder removeErrorSamples(int index)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameter |
---|
Name | Description |
index | int
|
setErrorSamples(int index, Status value)
public ImportSuggestionDenyListEntriesResponse.Builder setErrorSamples(int index, Status value)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameters |
---|
Name | Description |
index | int
|
value | com.google.rpc.Status
|
setErrorSamples(int index, Status.Builder builderForValue)
public ImportSuggestionDenyListEntriesResponse.Builder setErrorSamples(int index, Status.Builder builderForValue)
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | com.google.rpc.Status.Builder
|
setFailedEntriesCount(long value)
public ImportSuggestionDenyListEntriesResponse.Builder setFailedEntriesCount(long value)
Count of deny list entries that failed to be imported.
int64 failed_entries_count = 3;
Parameter |
---|
Name | Description |
value | long
The failedEntriesCount to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ImportSuggestionDenyListEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setImportedEntriesCount(long value)
public ImportSuggestionDenyListEntriesResponse.Builder setImportedEntriesCount(long value)
Count of deny list entries successfully imported.
int64 imported_entries_count = 2;
Parameter |
---|
Name | Description |
value | long
The importedEntriesCount to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportSuggestionDenyListEntriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportSuggestionDenyListEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides