public static final class ImportProductsResponse.Builder extends GeneratedMessageV3.Builder<ImportProductsResponse.Builder> implements ImportProductsResponseOrBuilder
Response of the
ImportProductsRequest. If
the long running operation is done, then this message is returned by the
google.longrunning.Operations.response field if the operation was successful.
Protobuf type google.cloud.retail.v2beta.ImportProductsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ImportProductsResponse.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 ImportProductsResponse.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 ImportProductsResponse.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 ImportProductsResponse.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 ImportProductsResponse.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 ImportProductsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportProductsResponse build()
buildPartial()
public ImportProductsResponse buildPartial()
clear()
public ImportProductsResponse.Builder clear()
Overrides
clearErrorSamples()
public ImportProductsResponse.Builder clearErrorSamples()
A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
clearErrorsConfig()
public ImportProductsResponse.Builder clearErrorsConfig()
Echoes the destination for the complete errors in the request if set.
.google.cloud.retail.v2beta.ImportErrorsConfig errors_config = 2;
clearField(Descriptors.FieldDescriptor field)
public ImportProductsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportProductsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImportProductsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ImportProductsResponse 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> | |
getErrorsConfig()
public ImportErrorsConfig getErrorsConfig()
Echoes the destination for the complete errors in the request if set.
.google.cloud.retail.v2beta.ImportErrorsConfig errors_config = 2;
getErrorsConfigBuilder()
public ImportErrorsConfig.Builder getErrorsConfigBuilder()
Echoes the destination for the complete errors in the request if set.
.google.cloud.retail.v2beta.ImportErrorsConfig errors_config = 2;
getErrorsConfigOrBuilder()
public ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()
Echoes the destination for the complete errors in the request if set.
.google.cloud.retail.v2beta.ImportErrorsConfig errors_config = 2;
hasErrorsConfig()
public boolean hasErrorsConfig()
Echoes the destination for the complete errors in the request if set.
.google.cloud.retail.v2beta.ImportErrorsConfig errors_config = 2;
Returns |
---|
Type | Description |
boolean | Whether the errorsConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeErrorsConfig(ImportErrorsConfig value)
public ImportProductsResponse.Builder mergeErrorsConfig(ImportErrorsConfig value)
Echoes the destination for the complete errors in the request if set.
.google.cloud.retail.v2beta.ImportErrorsConfig errors_config = 2;
mergeFrom(ImportProductsResponse other)
public ImportProductsResponse.Builder mergeFrom(ImportProductsResponse other)
public ImportProductsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportProductsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportProductsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeErrorSamples(int index)
public ImportProductsResponse.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 ImportProductsResponse.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 ImportProductsResponse.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
|
setErrorsConfig(ImportErrorsConfig value)
public ImportProductsResponse.Builder setErrorsConfig(ImportErrorsConfig value)
Echoes the destination for the complete errors in the request if set.
.google.cloud.retail.v2beta.ImportErrorsConfig errors_config = 2;
setErrorsConfig(ImportErrorsConfig.Builder builderForValue)
public ImportProductsResponse.Builder setErrorsConfig(ImportErrorsConfig.Builder builderForValue)
Echoes the destination for the complete errors in the request if set.
.google.cloud.retail.v2beta.ImportErrorsConfig errors_config = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public ImportProductsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportProductsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportProductsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides