Class UpdateDocumentMetadata.Builder (0.2.0)

public static final class UpdateDocumentMetadata.Builder extends GeneratedMessageV3.Builder<UpdateDocumentMetadata.Builder> implements UpdateDocumentMetadataOrBuilder

Metadata object for UpdateDocument request (currently empty).

Protobuf type google.cloud.contentwarehouse.v1.UpdateDocumentMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDocumentMetadata build()
Returns
TypeDescription
UpdateDocumentMetadata

buildPartial()

public UpdateDocumentMetadata buildPartial()
Returns
TypeDescription
UpdateDocumentMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public UpdateDocumentMetadata getDefaultInstanceForType()
Returns
TypeDescription
UpdateDocumentMetadata

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(UpdateDocumentMetadata other)

public UpdateDocumentMetadata.Builder mergeFrom(UpdateDocumentMetadata other)
Parameter
NameDescription
otherUpdateDocumentMetadata
Returns
TypeDescription
UpdateDocumentMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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