Class ImportUserEventsResponse.Builder (0.48.0)

public static final class ImportUserEventsResponse.Builder extends GeneratedMessageV3.Builder<ImportUserEventsResponse.Builder> implements ImportUserEventsResponseOrBuilder

Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.

Protobuf type google.cloud.recommendationengine.v1beta1.ImportUserEventsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllErrorSamples(Iterable<? extends Status> values)

public ImportUserEventsResponse.Builder addAllErrorSamples(Iterable<? extends Status> values)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
ImportUserEventsResponse.Builder

addErrorSamples(Status value)

public ImportUserEventsResponse.Builder addErrorSamples(Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ImportUserEventsResponse.Builder

addErrorSamples(Status.Builder builderForValue)

public ImportUserEventsResponse.Builder addErrorSamples(Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ImportUserEventsResponse.Builder

addErrorSamples(int index, Status value)

public ImportUserEventsResponse.Builder addErrorSamples(int index, Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
ImportUserEventsResponse.Builder

addErrorSamples(int index, Status.Builder builderForValue)

public ImportUserEventsResponse.Builder addErrorSamples(int index, Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ImportUserEventsResponse.Builder

addErrorSamplesBuilder()

public Status.Builder addErrorSamplesBuilder()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportUserEventsResponse build()
Returns
TypeDescription
ImportUserEventsResponse

buildPartial()

public ImportUserEventsResponse buildPartial()
Returns
TypeDescription
ImportUserEventsResponse

clear()

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

clearErrorSamples()

public ImportUserEventsResponse.Builder clearErrorSamples()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
TypeDescription
ImportUserEventsResponse.Builder

clearErrorsConfig()

public ImportUserEventsResponse.Builder clearErrorsConfig()

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
ImportUserEventsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearImportSummary()

public ImportUserEventsResponse.Builder clearImportSummary()

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Returns
TypeDescription
ImportUserEventsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ImportUserEventsResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportUserEventsResponse

getDescriptorForType()

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

getErrorSamplesList()

public List<Status> getErrorSamplesList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

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

getErrorsConfig()

public ImportErrorsConfig getErrorsConfig()

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
ImportErrorsConfig

The errorsConfig.

getErrorsConfigBuilder()

public ImportErrorsConfig.Builder getErrorsConfigBuilder()

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
ImportErrorsConfig.Builder

getErrorsConfigOrBuilder()

public ImportErrorsConfigOrBuilder getErrorsConfigOrBuilder()

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
ImportErrorsConfigOrBuilder

getImportSummary()

public UserEventImportSummary getImportSummary()

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Returns
TypeDescription
UserEventImportSummary

The importSummary.

getImportSummaryBuilder()

public UserEventImportSummary.Builder getImportSummaryBuilder()

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Returns
TypeDescription
UserEventImportSummary.Builder

getImportSummaryOrBuilder()

public UserEventImportSummaryOrBuilder getImportSummaryOrBuilder()

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Returns
TypeDescription
UserEventImportSummaryOrBuilder

hasErrorsConfig()

public boolean hasErrorsConfig()

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Returns
TypeDescription
boolean

Whether the errorsConfig field is set.

hasImportSummary()

public boolean hasImportSummary()

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Returns
TypeDescription
boolean

Whether the importSummary field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeErrorsConfig(ImportErrorsConfig value)

public ImportUserEventsResponse.Builder mergeErrorsConfig(ImportErrorsConfig value)

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Parameter
NameDescription
valueImportErrorsConfig
Returns
TypeDescription
ImportUserEventsResponse.Builder

mergeFrom(ImportUserEventsResponse other)

public ImportUserEventsResponse.Builder mergeFrom(ImportUserEventsResponse other)
Parameter
NameDescription
otherImportUserEventsResponse
Returns
TypeDescription
ImportUserEventsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeImportSummary(UserEventImportSummary value)

public ImportUserEventsResponse.Builder mergeImportSummary(UserEventImportSummary value)

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Parameter
NameDescription
valueUserEventImportSummary
Returns
TypeDescription
ImportUserEventsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportUserEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportUserEventsResponse.Builder
Overrides

removeErrorSamples(int index)

public ImportUserEventsResponse.Builder removeErrorSamples(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportUserEventsResponse.Builder

setErrorSamples(int index, Status value)

public ImportUserEventsResponse.Builder setErrorSamples(int index, Status value)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
ImportUserEventsResponse.Builder

setErrorSamples(int index, Status.Builder builderForValue)

public ImportUserEventsResponse.Builder setErrorSamples(int index, Status.Builder builderForValue)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameters
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ImportUserEventsResponse.Builder

setErrorsConfig(ImportErrorsConfig value)

public ImportUserEventsResponse.Builder setErrorsConfig(ImportErrorsConfig value)

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Parameter
NameDescription
valueImportErrorsConfig
Returns
TypeDescription
ImportUserEventsResponse.Builder

setErrorsConfig(ImportErrorsConfig.Builder builderForValue)

public ImportUserEventsResponse.Builder setErrorsConfig(ImportErrorsConfig.Builder builderForValue)

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig errors_config = 2;

Parameter
NameDescription
builderForValueImportErrorsConfig.Builder
Returns
TypeDescription
ImportUserEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setImportSummary(UserEventImportSummary value)

public ImportUserEventsResponse.Builder setImportSummary(UserEventImportSummary value)

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Parameter
NameDescription
valueUserEventImportSummary
Returns
TypeDescription
ImportUserEventsResponse.Builder

setImportSummary(UserEventImportSummary.Builder builderForValue)

public ImportUserEventsResponse.Builder setImportSummary(UserEventImportSummary.Builder builderForValue)

Aggregated statistics of user event import status.

.google.cloud.recommendationengine.v1beta1.UserEventImportSummary import_summary = 3;

Parameter
NameDescription
builderForValueUserEventImportSummary.Builder
Returns
TypeDescription
ImportUserEventsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportUserEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportUserEventsResponse.Builder
Overrides