Class PurgeUserEventsResponse.Builder (0.29.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.recommendationengine.v1beta1.UserEvent>
Returns
TypeDescription
PurgeUserEventsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PurgeUserEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueUserEvent
Returns
TypeDescription
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
NameDescription
builderForValueUserEvent.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueUserEvent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueUserEvent.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
UserEvent.Builder

build()

public PurgeUserEventsResponse build()
Returns
TypeDescription
PurgeUserEventsResponse

buildPartial()

public PurgeUserEventsResponse buildPartial()
Returns
TypeDescription
PurgeUserEventsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PurgeUserEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PurgeUserEventsResponse.Builder

clone()

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

getDefaultInstanceForType()

public PurgeUserEventsResponse getDefaultInstanceForType()
Returns
TypeDescription
PurgeUserEventsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPurgedEventsCount()

public long getPurgedEventsCount()

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

int64 purged_events_count = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.recommendationengine.v1beta1.UserEventOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PurgeUserEventsResponse other)

public PurgeUserEventsResponse.Builder mergeFrom(PurgeUserEventsResponse other)
Parameter
NameDescription
otherPurgeUserEventsResponse
Returns
TypeDescription
PurgeUserEventsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PurgeUserEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PurgeUserEventsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PurgeUserEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The purgedEventsCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PurgeUserEventsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PurgeUserEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueUserEvent
Returns
TypeDescription
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
NameDescription
indexint
builderForValueUserEvent.Builder
Returns
TypeDescription
PurgeUserEventsResponse.Builder