Class UserEventImportSummary.Builder (2.2.2)

public static final class UserEventImportSummary.Builder extends GeneratedMessageV3.Builder<UserEventImportSummary.Builder> implements UserEventImportSummaryOrBuilder

A summary of import result. The UserEventImportSummary summarizes the import status for user events.

Protobuf type google.cloud.retail.v2alpha.UserEventImportSummary

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UserEventImportSummary build()
Returns
TypeDescription
UserEventImportSummary

buildPartial()

public UserEventImportSummary buildPartial()
Returns
TypeDescription
UserEventImportSummary

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJoinedEventsCount()

public UserEventImportSummary.Builder clearJoinedEventsCount()

Count of user events imported with complete existing catalog information.

int64 joined_events_count = 1;

Returns
TypeDescription
UserEventImportSummary.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnjoinedEventsCount()

public UserEventImportSummary.Builder clearUnjoinedEventsCount()

Count of user events imported, but with catalog information not found in the imported catalog.

int64 unjoined_events_count = 2;

Returns
TypeDescription
UserEventImportSummary.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UserEventImportSummary getDefaultInstanceForType()
Returns
TypeDescription
UserEventImportSummary

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJoinedEventsCount()

public long getJoinedEventsCount()

Count of user events imported with complete existing catalog information.

int64 joined_events_count = 1;

Returns
TypeDescription
long

The joinedEventsCount.

getUnjoinedEventsCount()

public long getUnjoinedEventsCount()

Count of user events imported, but with catalog information not found in the imported catalog.

int64 unjoined_events_count = 2;

Returns
TypeDescription
long

The unjoinedEventsCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UserEventImportSummary other)

public UserEventImportSummary.Builder mergeFrom(UserEventImportSummary other)
Parameter
NameDescription
otherUserEventImportSummary
Returns
TypeDescription
UserEventImportSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJoinedEventsCount(long value)

public UserEventImportSummary.Builder setJoinedEventsCount(long value)

Count of user events imported with complete existing catalog information.

int64 joined_events_count = 1;

Parameter
NameDescription
valuelong

The joinedEventsCount to set.

Returns
TypeDescription
UserEventImportSummary.Builder

This builder for chaining.

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

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

setUnjoinedEventsCount(long value)

public UserEventImportSummary.Builder setUnjoinedEventsCount(long value)

Count of user events imported, but with catalog information not found in the imported catalog.

int64 unjoined_events_count = 2;

Parameter
NameDescription
valuelong

The unjoinedEventsCount to set.

Returns
TypeDescription
UserEventImportSummary.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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