Class PurgeUserEventsResponse.Builder (2.17.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.v2beta.PurgeUserEventsResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

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.

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

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