Class PropertyDefinition.SchemaSource.Builder (0.79.0)

public static final class PropertyDefinition.SchemaSource.Builder extends GeneratedMessage.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

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

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.

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.

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 GeneratedMessage.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

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.