Class PurgeUserEventsMetadata.Builder (0.55.0)

public static final class PurgeUserEventsMetadata.Builder extends GeneratedMessageV3.Builder<PurgeUserEventsMetadata.Builder> implements PurgeUserEventsMetadataOrBuilder

Metadata related to the progress of the PurgeUserEvents operation. This will be returned by the google.longrunning.Operation.metadata field.

Protobuf type google.cloud.recommendationengine.v1beta1.PurgeUserEventsMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PurgeUserEventsMetadata build()
Returns
Type Description
PurgeUserEventsMetadata

buildPartial()

public PurgeUserEventsMetadata buildPartial()
Returns
Type Description
PurgeUserEventsMetadata

clear()

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

clearCreateTime()

public PurgeUserEventsMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
PurgeUserEventsMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperationName()

public PurgeUserEventsMetadata.Builder clearOperationName()

The ID of the request / operation.

string operation_name = 1;

Returns
Type Description
PurgeUserEventsMetadata.Builder

This builder for chaining.

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public PurgeUserEventsMetadata getDefaultInstanceForType()
Returns
Type Description
PurgeUserEventsMetadata

getDescriptorForType()

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

getOperationName()

public String getOperationName()

The ID of the request / operation.

string operation_name = 1;

Returns
Type Description
String

The operationName.

getOperationNameBytes()

public ByteString getOperationNameBytes()

The ID of the request / operation.

string operation_name = 1;

Returns
Type Description
ByteString

The bytes for operationName.

hasCreateTime()

public boolean hasCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public PurgeUserEventsMetadata.Builder mergeCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
PurgeUserEventsMetadata.Builder

mergeFrom(PurgeUserEventsMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCreateTime(Timestamp value)

public PurgeUserEventsMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
PurgeUserEventsMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public PurgeUserEventsMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
PurgeUserEventsMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperationName(String value)

public PurgeUserEventsMetadata.Builder setOperationName(String value)

The ID of the request / operation.

string operation_name = 1;

Parameter
Name Description
value String

The operationName to set.

Returns
Type Description
PurgeUserEventsMetadata.Builder

This builder for chaining.

setOperationNameBytes(ByteString value)

public PurgeUserEventsMetadata.Builder setOperationNameBytes(ByteString value)

The ID of the request / operation.

string operation_name = 1;

Parameter
Name Description
value ByteString

The bytes for operationName to set.

Returns
Type Description
PurgeUserEventsMetadata.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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