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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PurgeUserEventsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public PurgeUserEventsResponse build()
Returns
buildPartial()
public PurgeUserEventsResponse buildPartial()
Returns
clear()
public PurgeUserEventsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PurgeUserEventsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PurgeUserEventsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPurgedEventsCount()
public PurgeUserEventsResponse.Builder clearPurgedEventsCount()
The total count of events purged as a result of the operation.
int64 purged_events_count = 1;
Returns
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
clone()
public PurgeUserEventsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PurgeUserEventsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PurgeUserEventsResponse other)
public PurgeUserEventsResponse.Builder mergeFrom(PurgeUserEventsResponse other)
Parameter
Returns
public PurgeUserEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PurgeUserEventsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PurgeUserEventsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PurgeUserEventsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PurgeUserEventsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PurgeUserEventsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns