Class PurgeUserEventsMetadata.Builder (0.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PurgeUserEventsMetadata build()
Returns
TypeDescription
PurgeUserEventsMetadata

buildPartial()

public PurgeUserEventsMetadata buildPartial()
Returns
TypeDescription
PurgeUserEventsMetadata

clear()

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

clearCreateTime()

public PurgeUserEventsMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
PurgeUserEventsMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public PurgeUserEventsMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PurgeUserEventsMetadata.Builder
Overrides

clearOperationName()

public PurgeUserEventsMetadata.Builder clearOperationName()

The ID of the request / operation.

string operation_name = 1;

Returns
TypeDescription
PurgeUserEventsMetadata.Builder

This builder for chaining.

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public PurgeUserEventsMetadata getDefaultInstanceForType()
Returns
TypeDescription
PurgeUserEventsMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperationName()

public String getOperationName()

The ID of the request / operation.

string operation_name = 1;

Returns
TypeDescription
String

The operationName.

getOperationNameBytes()

public ByteString getOperationNameBytes()

The ID of the request / operation.

string operation_name = 1;

Returns
TypeDescription
ByteString

The bytes for operationName.

hasCreateTime()

public boolean hasCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public PurgeUserEventsMetadata.Builder mergeCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
PurgeUserEventsMetadata.Builder

mergeFrom(PurgeUserEventsMetadata other)

public PurgeUserEventsMetadata.Builder mergeFrom(PurgeUserEventsMetadata other)
Parameter
NameDescription
otherPurgeUserEventsMetadata
Returns
TypeDescription
PurgeUserEventsMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PurgeUserEventsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PurgeUserEventsMetadata.Builder
Overrides

setCreateTime(Timestamp value)

public PurgeUserEventsMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
PurgeUserEventsMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public PurgeUserEventsMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
PurgeUserEventsMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperationName(String value)

public PurgeUserEventsMetadata.Builder setOperationName(String value)

The ID of the request / operation.

string operation_name = 1;

Parameter
NameDescription
valueString

The operationName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for operationName to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final PurgeUserEventsMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PurgeUserEventsMetadata.Builder
Overrides