Class CreateDocumentMetadata.Builder (0.13.0)

public static final class CreateDocumentMetadata.Builder extends GeneratedMessageV3.Builder<CreateDocumentMetadata.Builder> implements CreateDocumentMetadataOrBuilder

Metadata object for CreateDocument request (currently empty).

Protobuf type google.cloud.contentwarehouse.v1.CreateDocumentMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDocumentMetadata build()
Returns
TypeDescription
CreateDocumentMetadata

buildPartial()

public CreateDocumentMetadata buildPartial()
Returns
TypeDescription
CreateDocumentMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CreateDocumentMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateDocumentMetadata

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

public CreateDocumentMetadata.Builder mergeFrom(CreateDocumentMetadata other)
Parameter
NameDescription
otherCreateDocumentMetadata
Returns
TypeDescription
CreateDocumentMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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