Class CreateDocumentMetadata.Builder (0.39.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateDocumentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides

build()

public CreateDocumentMetadata build()
Returns
Type Description
CreateDocumentMetadata

buildPartial()

public CreateDocumentMetadata buildPartial()
Returns
Type Description
CreateDocumentMetadata

clear()

public CreateDocumentMetadata.Builder clear()
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateDocumentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateDocumentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides

clone()

public CreateDocumentMetadata.Builder clone()
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides

getDefaultInstanceForType()

public CreateDocumentMetadata getDefaultInstanceForType()
Returns
Type Description
CreateDocumentMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateDocumentMetadata other)

public CreateDocumentMetadata.Builder mergeFrom(CreateDocumentMetadata other)
Parameter
Name Description
other CreateDocumentMetadata
Returns
Type Description
CreateDocumentMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateDocumentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateDocumentMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDocumentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateDocumentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides

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

public CreateDocumentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateDocumentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateDocumentMetadata.Builder
Overrides