Send feedback
Class PurgeProductsMetadata.Builder (2.55.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.55.0 keyboard_arrow_down
public static final class PurgeProductsMetadata . Builder extends GeneratedMessageV3 . Builder<PurgeProductsMetadata . Builder > implements PurgeProductsMetadataOrBuilder
Metadata related to the progress of the PurgeProducts operation.
This will be returned by the google.longrunning.Operation.metadata field.
Protobuf type google.cloud.retail.v2.PurgeProductsMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public PurgeProductsMetadata . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public PurgeProductsMetadata build ()
public PurgeProductsMetadata buildPartial ()
public PurgeProductsMetadata . Builder clear ()
Overrides
public PurgeProductsMetadata . Builder clearCreateTime ()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
public PurgeProductsMetadata . Builder clearFailureCount ()
Count of entries that encountered errors while processing.
int64 failure_count = 4;
public PurgeProductsMetadata . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public PurgeProductsMetadata . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public PurgeProductsMetadata . Builder clearSuccessCount ()
Count of entries that were deleted successfully.
int64 success_count = 3;
public PurgeProductsMetadata . Builder clearUpdateTime ()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
public PurgeProductsMetadata . Builder clone ()
Overrides
public Timestamp getCreateTime ()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
Type
Description
Timestamp
The createTime.
public Timestamp . Builder getCreateTimeBuilder ()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
public TimestampOrBuilder getCreateTimeOrBuilder ()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
public PurgeProductsMetadata getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public long getFailureCount ()
Count of entries that encountered errors while processing.
int64 failure_count = 4;
Returns
Type
Description
long
The failureCount.
public long getSuccessCount ()
Count of entries that were deleted successfully.
int64 success_count = 3;
Returns
Type
Description
long
The successCount.
public Timestamp getUpdateTime ()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
Returns
Type
Description
Timestamp
The updateTime.
public Timestamp . Builder getUpdateTimeBuilder ()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
public TimestampOrBuilder getUpdateTimeOrBuilder ()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
public boolean hasCreateTime ()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
Type
Description
boolean
Whether the createTime field is set.
public boolean hasUpdateTime ()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
Returns
Type
Description
boolean
Whether the updateTime field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public PurgeProductsMetadata . Builder mergeCreateTime ( Timestamp value )
Operation create time.
.google.protobuf.Timestamp create_time = 1;
public PurgeProductsMetadata . Builder mergeFrom ( PurgeProductsMetadata other )
public PurgeProductsMetadata . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public PurgeProductsMetadata . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final PurgeProductsMetadata . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public PurgeProductsMetadata . Builder mergeUpdateTime ( Timestamp value )
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
public PurgeProductsMetadata . Builder setCreateTime ( Timestamp value )
Operation create time.
.google.protobuf.Timestamp create_time = 1;
public PurgeProductsMetadata . Builder setCreateTime ( Timestamp . Builder builderForValue )
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Parameter
Name
Description
builderForValue
Builder
public PurgeProductsMetadata . Builder setFailureCount ( long value )
Count of entries that encountered errors while processing.
int64 failure_count = 4;
Parameter
Name
Description
value
long
The failureCount to set.
public PurgeProductsMetadata . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public PurgeProductsMetadata . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public PurgeProductsMetadata . Builder setSuccessCount ( long value )
Count of entries that were deleted successfully.
int64 success_count = 3;
Parameter
Name
Description
value
long
The successCount to set.
public final PurgeProductsMetadata . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public PurgeProductsMetadata . Builder setUpdateTime ( Timestamp value )
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
public PurgeProductsMetadata . Builder setUpdateTime ( Timestamp . Builder builderForValue )
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
Parameter
Name
Description
builderForValue
Builder
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]