Class PurgeUserEventsResponse.Builder (2.51.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.retail.v2.PurgeUserEventsResponse

Static Methods

getDescriptor()

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

Methods

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

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.

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.

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

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