Class PropertyDefinition.SchemaSource.Builder (0.51.0)

public static final class PropertyDefinition.SchemaSource.Builder extends GeneratedMessageV3.Builder<PropertyDefinition.SchemaSource.Builder> implements PropertyDefinition.SchemaSourceOrBuilder

The schema source information.

Protobuf type google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PropertyDefinition.SchemaSource build()
Returns
Type Description
PropertyDefinition.SchemaSource

buildPartial()

public PropertyDefinition.SchemaSource buildPartial()
Returns
Type Description
PropertyDefinition.SchemaSource

clear()

public PropertyDefinition.SchemaSource.Builder clear()
Returns
Type Description
PropertyDefinition.SchemaSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public PropertyDefinition.SchemaSource.Builder clearName()

The schema name in the source.

string name = 1;

Returns
Type Description
PropertyDefinition.SchemaSource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessorType()

public PropertyDefinition.SchemaSource.Builder clearProcessorType()

The Doc AI processor type name.

string processor_type = 2;

Returns
Type Description
PropertyDefinition.SchemaSource.Builder

This builder for chaining.

clone()

public PropertyDefinition.SchemaSource.Builder clone()
Returns
Type Description
PropertyDefinition.SchemaSource.Builder
Overrides

getDefaultInstanceForType()

public PropertyDefinition.SchemaSource getDefaultInstanceForType()
Returns
Type Description
PropertyDefinition.SchemaSource

getDescriptorForType()

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

getName()

public String getName()

The schema name in the source.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The schema name in the source.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getProcessorType()

public String getProcessorType()

The Doc AI processor type name.

string processor_type = 2;

Returns
Type Description
String

The processorType.

getProcessorTypeBytes()

public ByteString getProcessorTypeBytes()

The Doc AI processor type name.

string processor_type = 2;

Returns
Type Description
ByteString

The bytes for processorType.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PropertyDefinition.SchemaSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public PropertyDefinition.SchemaSource.Builder setName(String value)

The schema name in the source.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PropertyDefinition.SchemaSource.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PropertyDefinition.SchemaSource.Builder setNameBytes(ByteString value)

The schema name in the source.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PropertyDefinition.SchemaSource.Builder

This builder for chaining.

setProcessorType(String value)

public PropertyDefinition.SchemaSource.Builder setProcessorType(String value)

The Doc AI processor type name.

string processor_type = 2;

Parameter
Name Description
value String

The processorType to set.

Returns
Type Description
PropertyDefinition.SchemaSource.Builder

This builder for chaining.

setProcessorTypeBytes(ByteString value)

public PropertyDefinition.SchemaSource.Builder setProcessorTypeBytes(ByteString value)

The Doc AI processor type name.

string processor_type = 2;

Parameter
Name Description
value ByteString

The bytes for processorType to set.

Returns
Type Description
PropertyDefinition.SchemaSource.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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