Class PropertyDefinition.SchemaSource (0.27.0)

public static final class PropertyDefinition.SchemaSource extends GeneratedMessageV3 implements PropertyDefinition.SchemaSourceOrBuilder

The schema source information.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PropertyDefinition.SchemaSource

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PROCESSOR_TYPE_FIELD_NUMBER

public static final int PROCESSOR_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PropertyDefinition.SchemaSource getDefaultInstance()
Returns
TypeDescription
PropertyDefinition.SchemaSource

getDescriptor()

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

newBuilder()

public static PropertyDefinition.SchemaSource.Builder newBuilder()
Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder

newBuilder(PropertyDefinition.SchemaSource prototype)

public static PropertyDefinition.SchemaSource.Builder newBuilder(PropertyDefinition.SchemaSource prototype)
Parameter
NameDescription
prototypePropertyDefinition.SchemaSource
Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder

parseDelimitedFrom(InputStream input)

public static PropertyDefinition.SchemaSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyDefinition.SchemaSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PropertyDefinition.SchemaSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PropertyDefinition.SchemaSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PropertyDefinition.SchemaSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PropertyDefinition.SchemaSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PropertyDefinition.SchemaSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyDefinition.SchemaSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PropertyDefinition.SchemaSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PropertyDefinition.SchemaSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PropertyDefinition.SchemaSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PropertyDefinition.SchemaSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PropertyDefinition.SchemaSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PropertyDefinition.SchemaSource> parser()
Returns
TypeDescription
Parser<SchemaSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<PropertyDefinition.SchemaSource> getParserForType()
Returns
TypeDescription
Parser<SchemaSource>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PropertyDefinition.SchemaSource.Builder newBuilderForType()
Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PropertyDefinition.SchemaSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PropertyDefinition.SchemaSource.Builder toBuilder()
Returns
TypeDescription
PropertyDefinition.SchemaSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException