Class PropertyDefinition.SchemaSource.Builder (0.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PropertyDefinition.SchemaSource build()
Returns
TypeDescription
PropertyDefinition.SchemaSource

buildPartial()

public PropertyDefinition.SchemaSource buildPartial()
Returns
TypeDescription
PropertyDefinition.SchemaSource

clear()

public PropertyDefinition.SchemaSource.Builder clear()
Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public PropertyDefinition.SchemaSource.Builder clearName()

The schema name in the source.

string name = 1;

Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProcessorType()

public PropertyDefinition.SchemaSource.Builder clearProcessorType()

The Doc AI processor type name.

string processor_type = 2;

Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder

This builder for chaining.

clone()

public PropertyDefinition.SchemaSource.Builder clone()
Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder
Overrides

getDefaultInstanceForType()

public PropertyDefinition.SchemaSource getDefaultInstanceForType()
Returns
TypeDescription
PropertyDefinition.SchemaSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The schema name in the source.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The schema name in the source.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getProcessorType()

public String getProcessorType()

The Doc AI processor type name.

string processor_type = 2;

Returns
TypeDescription
String

The processorType.

getProcessorTypeBytes()

public ByteString getProcessorTypeBytes()

The Doc AI processor type name.

string processor_type = 2;

Returns
TypeDescription
ByteString

The bytes for processorType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PropertyDefinition.SchemaSource other)

public PropertyDefinition.SchemaSource.Builder mergeFrom(PropertyDefinition.SchemaSource other)
Parameter
NameDescription
otherPropertyDefinition.SchemaSource
Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public PropertyDefinition.SchemaSource.Builder setName(String value)

The schema name in the source.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The processorType to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for processorType to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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