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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PropertyDefinition.SchemaSource.BuilderImplements
PropertyDefinition.SchemaSourceOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public PropertyDefinition.SchemaSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PropertyDefinition.SchemaSource.Builder |
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 |
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 |
getDefaultInstanceForType()
public PropertyDefinition.SchemaSource getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PropertyDefinition.SchemaSource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyDefinition.SchemaSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PropertyDefinition.SchemaSource.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyDefinition.SchemaSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PropertyDefinition.SchemaSource.Builder |