Class PurgeDocumentsMetadata.Builder (0.25.0)

public static final class PurgeDocumentsMetadata.Builder extends GeneratedMessageV3.Builder<PurgeDocumentsMetadata.Builder> implements PurgeDocumentsMetadataOrBuilder

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

Protobuf type google.cloud.discoveryengine.v1.PurgeDocumentsMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PurgeDocumentsMetadata build()
Returns
TypeDescription
PurgeDocumentsMetadata

buildPartial()

public PurgeDocumentsMetadata buildPartial()
Returns
TypeDescription
PurgeDocumentsMetadata

clear()

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

clearCreateTime()

public PurgeDocumentsMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
PurgeDocumentsMetadata.Builder

clearFailureCount()

public PurgeDocumentsMetadata.Builder clearFailureCount()

Count of entries that encountered errors while processing.

int64 failure_count = 4;

Returns
TypeDescription
PurgeDocumentsMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSuccessCount()

public PurgeDocumentsMetadata.Builder clearSuccessCount()

Count of entries that were deleted successfully.

int64 success_count = 3;

Returns
TypeDescription
PurgeDocumentsMetadata.Builder

This builder for chaining.

clearUpdateTime()

public PurgeDocumentsMetadata.Builder clearUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
PurgeDocumentsMetadata.Builder

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public PurgeDocumentsMetadata getDefaultInstanceForType()
Returns
TypeDescription
PurgeDocumentsMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFailureCount()

public long getFailureCount()

Count of entries that encountered errors while processing.

int64 failure_count = 4;

Returns
TypeDescription
long

The failureCount.

getSuccessCount()

public long getSuccessCount()

Count of entries that were deleted successfully.

int64 success_count = 3;

Returns
TypeDescription
long

The successCount.

getUpdateTime()

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
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

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;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

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
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

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
TypeDescription
boolean

Whether the updateTime 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 PurgeDocumentsMetadata.Builder mergeCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
PurgeDocumentsMetadata.Builder

mergeFrom(PurgeDocumentsMetadata other)

public PurgeDocumentsMetadata.Builder mergeFrom(PurgeDocumentsMetadata other)
Parameter
NameDescription
otherPurgeDocumentsMetadata
Returns
TypeDescription
PurgeDocumentsMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public PurgeDocumentsMetadata.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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
PurgeDocumentsMetadata.Builder

setCreateTime(Timestamp value)

public PurgeDocumentsMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
PurgeDocumentsMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public PurgeDocumentsMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
PurgeDocumentsMetadata.Builder

setFailureCount(long value)

public PurgeDocumentsMetadata.Builder setFailureCount(long value)

Count of entries that encountered errors while processing.

int64 failure_count = 4;

Parameter
NameDescription
valuelong

The failureCount to set.

Returns
TypeDescription
PurgeDocumentsMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public PurgeDocumentsMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PurgeDocumentsMetadata.Builder
Overrides

setSuccessCount(long value)

public PurgeDocumentsMetadata.Builder setSuccessCount(long value)

Count of entries that were deleted successfully.

int64 success_count = 3;

Parameter
NameDescription
valuelong

The successCount to set.

Returns
TypeDescription
PurgeDocumentsMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public PurgeDocumentsMetadata.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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
PurgeDocumentsMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public PurgeDocumentsMetadata.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
NameDescription
builderForValueBuilder
Returns
TypeDescription
PurgeDocumentsMetadata.Builder