Class PurgeUserEventsResponse.Builder (0.58.0)

public static final class PurgeUserEventsResponse.Builder extends GeneratedMessageV3.Builder<PurgeUserEventsResponse.Builder> implements PurgeUserEventsResponseOrBuilder

Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.

Protobuf type google.cloud.recommendationengine.v1beta1.PurgeUserEventsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllUserEventsSample(Iterable<? extends UserEvent> values)

public PurgeUserEventsResponse.Builder addAllUserEventsSample(Iterable<? extends UserEvent> values)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.recommendationengine.v1beta1.UserEvent>
Returns
Type Description
PurgeUserEventsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PurgeUserEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides

addUserEventsSample(UserEvent value)

public PurgeUserEventsResponse.Builder addUserEventsSample(UserEvent value)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameter
Name Description
value UserEvent
Returns
Type Description
PurgeUserEventsResponse.Builder

addUserEventsSample(UserEvent.Builder builderForValue)

public PurgeUserEventsResponse.Builder addUserEventsSample(UserEvent.Builder builderForValue)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameter
Name Description
builderForValue UserEvent.Builder
Returns
Type Description
PurgeUserEventsResponse.Builder

addUserEventsSample(int index, UserEvent value)

public PurgeUserEventsResponse.Builder addUserEventsSample(int index, UserEvent value)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameters
Name Description
index int
value UserEvent
Returns
Type Description
PurgeUserEventsResponse.Builder

addUserEventsSample(int index, UserEvent.Builder builderForValue)

public PurgeUserEventsResponse.Builder addUserEventsSample(int index, UserEvent.Builder builderForValue)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameters
Name Description
index int
builderForValue UserEvent.Builder
Returns
Type Description
PurgeUserEventsResponse.Builder

addUserEventsSampleBuilder()

public UserEvent.Builder addUserEventsSampleBuilder()

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Returns
Type Description
UserEvent.Builder

addUserEventsSampleBuilder(int index)

public UserEvent.Builder addUserEventsSampleBuilder(int index)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameter
Name Description
index int
Returns
Type Description
UserEvent.Builder

build()

public PurgeUserEventsResponse build()
Returns
Type Description
PurgeUserEventsResponse

buildPartial()

public PurgeUserEventsResponse buildPartial()
Returns
Type Description
PurgeUserEventsResponse

clear()

public PurgeUserEventsResponse.Builder clear()
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PurgeUserEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PurgeUserEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides

clearPurgedEventsCount()

public PurgeUserEventsResponse.Builder clearPurgedEventsCount()

The total count of events purged as a result of the operation.

int64 purged_events_count = 1;

Returns
Type Description
PurgeUserEventsResponse.Builder

This builder for chaining.

clearUserEventsSample()

public PurgeUserEventsResponse.Builder clearUserEventsSample()

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Returns
Type Description
PurgeUserEventsResponse.Builder

clone()

public PurgeUserEventsResponse.Builder clone()
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides

getDefaultInstanceForType()

public PurgeUserEventsResponse getDefaultInstanceForType()
Returns
Type Description
PurgeUserEventsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPurgedEventsCount()

public long getPurgedEventsCount()

The total count of events purged as a result of the operation.

int64 purged_events_count = 1;

Returns
Type Description
long

The purgedEventsCount.

getUserEventsSample(int index)

public UserEvent getUserEventsSample(int index)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameter
Name Description
index int
Returns
Type Description
UserEvent

getUserEventsSampleBuilder(int index)

public UserEvent.Builder getUserEventsSampleBuilder(int index)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameter
Name Description
index int
Returns
Type Description
UserEvent.Builder

getUserEventsSampleBuilderList()

public List<UserEvent.Builder> getUserEventsSampleBuilderList()

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Returns
Type Description
List<Builder>

getUserEventsSampleCount()

public int getUserEventsSampleCount()

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Returns
Type Description
int

getUserEventsSampleList()

public List<UserEvent> getUserEventsSampleList()

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Returns
Type Description
List<UserEvent>

getUserEventsSampleOrBuilder(int index)

public UserEventOrBuilder getUserEventsSampleOrBuilder(int index)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameter
Name Description
index int
Returns
Type Description
UserEventOrBuilder

getUserEventsSampleOrBuilderList()

public List<? extends UserEventOrBuilder> getUserEventsSampleOrBuilderList()

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Returns
Type Description
List<? extends com.google.cloud.recommendationengine.v1beta1.UserEventOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PurgeUserEventsResponse other)

public PurgeUserEventsResponse.Builder mergeFrom(PurgeUserEventsResponse other)
Parameter
Name Description
other PurgeUserEventsResponse
Returns
Type Description
PurgeUserEventsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PurgeUserEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PurgeUserEventsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PurgeUserEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides

removeUserEventsSample(int index)

public PurgeUserEventsResponse.Builder removeUserEventsSample(int index)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameter
Name Description
index int
Returns
Type Description
PurgeUserEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PurgeUserEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides

setPurgedEventsCount(long value)

public PurgeUserEventsResponse.Builder setPurgedEventsCount(long value)

The total count of events purged as a result of the operation.

int64 purged_events_count = 1;

Parameter
Name Description
value long

The purgedEventsCount to set.

Returns
Type Description
PurgeUserEventsResponse.Builder

This builder for chaining.

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

public PurgeUserEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PurgeUserEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PurgeUserEventsResponse.Builder
Overrides

setUserEventsSample(int index, UserEvent value)

public PurgeUserEventsResponse.Builder setUserEventsSample(int index, UserEvent value)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameters
Name Description
index int
value UserEvent
Returns
Type Description
PurgeUserEventsResponse.Builder

setUserEventsSample(int index, UserEvent.Builder builderForValue)

public PurgeUserEventsResponse.Builder setUserEventsSample(int index, UserEvent.Builder builderForValue)

A sampling of events deleted (or will be deleted) depending on the force property in the request. Max of 500 items will be returned.

repeated .google.cloud.recommendationengine.v1beta1.UserEvent user_events_sample = 2;

Parameters
Name Description
index int
builderForValue UserEvent.Builder
Returns
Type Description
PurgeUserEventsResponse.Builder