public final class PurgeProductsMetadata extends GeneratedMessageV3 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.v2alpha.PurgeProductsMetadata
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int FAILURE_COUNT_FIELD_NUMBER
Field Value
public static final int SUCCESS_COUNT_FIELD_NUMBER
Field Value
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
public static PurgeProductsMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static PurgeProductsMetadata.Builder newBuilder()
Returns
public static PurgeProductsMetadata.Builder newBuilder(PurgeProductsMetadata prototype)
Parameter
Returns
public static PurgeProductsMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PurgeProductsMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PurgeProductsMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static PurgeProductsMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PurgeProductsMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static PurgeProductsMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PurgeProductsMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PurgeProductsMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PurgeProductsMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PurgeProductsMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PurgeProductsMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static PurgeProductsMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<PurgeProductsMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Timestamp getCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 1;
Returns
public PurgeProductsMetadata getDefaultInstanceForType()
Returns
public long getFailureCount()
Count of entries that encountered errors while processing.
int64 failure_count = 4;
Returns
Type | Description |
long | The failureCount.
|
public Parser<PurgeProductsMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public long getSuccessCount()
Count of entries that were deleted successfully.
int64 success_count = 3;
Returns
Type | Description |
long | The successCount.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
public TimestampOrBuilder getUpdateTimeOrBuilder()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 2;
Returns
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public PurgeProductsMetadata.Builder newBuilderForType()
Returns
protected PurgeProductsMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public PurgeProductsMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions