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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public PurgeUserEventsMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public PurgeUserEventsMetadata build()
Returns
public PurgeUserEventsMetadata buildPartial()
Returns
public PurgeUserEventsMetadata.Builder clear()
Returns
Overrides
public PurgeUserEventsMetadata.Builder clearCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 2;
Returns
public PurgeUserEventsMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public PurgeUserEventsMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public PurgeUserEventsMetadata.Builder clearOperationName()
The ID of the request / operation.
string operation_name = 1;
Returns
public PurgeUserEventsMetadata.Builder clone()
Returns
Overrides
public Timestamp getCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 2;
Returns
public Timestamp.Builder getCreateTimeBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 2;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 2;
Returns
public PurgeUserEventsMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getOperationName()
The ID of the request / operation.
string operation_name = 1;
Returns
Type | Description |
String | The operationName.
|
public ByteString getOperationNameBytes()
The ID of the request / operation.
string operation_name = 1;
Returns
Type | Description |
ByteString | The bytes for operationName.
|
public boolean hasCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 2;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public PurgeUserEventsMetadata.Builder mergeCreateTime(Timestamp value)
Operation create time.
.google.protobuf.Timestamp create_time = 2;
Parameter
Returns
public PurgeUserEventsMetadata.Builder mergeFrom(PurgeUserEventsMetadata other)
Parameter
Returns
public PurgeUserEventsMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public PurgeUserEventsMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final PurgeUserEventsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public PurgeUserEventsMetadata.Builder setCreateTime(Timestamp value)
Operation create time.
.google.protobuf.Timestamp create_time = 2;
Parameter
Returns
public PurgeUserEventsMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Operation create time.
.google.protobuf.Timestamp create_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public PurgeUserEventsMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public PurgeUserEventsMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final PurgeUserEventsMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides