Class PurgeMetadata.Builder (2.2.3)

public static final class PurgeMetadata.Builder extends GeneratedMessageV3.Builder<PurgeMetadata.Builder> implements PurgeMetadataOrBuilder

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

Protobuf type google.cloud.retail.v2.PurgeMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PurgeMetadata build()
Returns
TypeDescription
PurgeMetadata

buildPartial()

public PurgeMetadata buildPartial()
Returns
TypeDescription
PurgeMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PurgeMetadata getDefaultInstanceForType()
Returns
TypeDescription
PurgeMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PurgeMetadata other)

public PurgeMetadata.Builder mergeFrom(PurgeMetadata other)
Parameter
NameDescription
otherPurgeMetadata
Returns
TypeDescription
PurgeMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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