- 0.76.0 (latest)
- 0.74.0
- 0.72.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.66.0
- 0.64.0
- 0.63.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class DocumentSchema.Builder extends GeneratedMessageV3.Builder<DocumentSchema.Builder> implements DocumentSchemaOrBuilderA document schema used to define document structure.
Protobuf type google.cloud.contentwarehouse.v1.DocumentSchema
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DocumentSchema.BuilderImplements
DocumentSchemaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllPropertyDefinitions(Iterable<? extends PropertyDefinition> values)
public DocumentSchema.Builder addAllPropertyDefinitions(Iterable<? extends PropertyDefinition> values)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| values | Iterable<? extends com.google.cloud.contentwarehouse.v1.PropertyDefinition> |
| Type | Description |
| DocumentSchema.Builder |
addPropertyDefinitions(PropertyDefinition value)
public DocumentSchema.Builder addPropertyDefinitions(PropertyDefinition value)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| value | PropertyDefinition |
| Type | Description |
| DocumentSchema.Builder |
addPropertyDefinitions(PropertyDefinition.Builder builderForValue)
public DocumentSchema.Builder addPropertyDefinitions(PropertyDefinition.Builder builderForValue)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| builderForValue | PropertyDefinition.Builder |
| Type | Description |
| DocumentSchema.Builder |
addPropertyDefinitions(int index, PropertyDefinition value)
public DocumentSchema.Builder addPropertyDefinitions(int index, PropertyDefinition value)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| index | int |
| value | PropertyDefinition |
| Type | Description |
| DocumentSchema.Builder |
addPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)
public DocumentSchema.Builder addPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| index | int |
| builderForValue | PropertyDefinition.Builder |
| Type | Description |
| DocumentSchema.Builder |
addPropertyDefinitionsBuilder()
public PropertyDefinition.Builder addPropertyDefinitionsBuilder()Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Type | Description |
| PropertyDefinition.Builder |
addPropertyDefinitionsBuilder(int index)
public PropertyDefinition.Builder addPropertyDefinitionsBuilder(int index)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| index | int |
| Type | Description |
| PropertyDefinition.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| DocumentSchema.Builder |
build()
public DocumentSchema build()| Type | Description |
| DocumentSchema |
buildPartial()
public DocumentSchema buildPartial()| Type | Description |
| DocumentSchema |
clear()
public DocumentSchema.Builder clear()| Type | Description |
| DocumentSchema.Builder |
clearCreateTime()
public DocumentSchema.Builder clearCreateTime()Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| DocumentSchema.Builder |
clearDescription()
public DocumentSchema.Builder clearDescription()Schema description.
string description = 7;
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
clearDisplayName()
public DocumentSchema.Builder clearDisplayName()Required. Name of the schema given by the user. Must be unique per customer.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
clearDocumentIsFolder()
public DocumentSchema.Builder clearDocumentIsFolder()Document Type, true refers the document is a folder, otherwise it is a typical document.
bool document_is_folder = 4;
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DocumentSchema.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| DocumentSchema.Builder |
clearName()
public DocumentSchema.Builder clearName()The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
string name = 1;
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| DocumentSchema.Builder |
clearPropertyDefinitions()
public DocumentSchema.Builder clearPropertyDefinitions()Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Type | Description |
| DocumentSchema.Builder |
clearUpdateTime()
public DocumentSchema.Builder clearUpdateTime()Output only. The time when the document schema is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| DocumentSchema.Builder |
clone()
public DocumentSchema.Builder clone()| Type | Description |
| DocumentSchema.Builder |
getCreateTime()
public Timestamp getCreateTime()Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| TimestampOrBuilder |
getDefaultInstanceForType()
public DocumentSchema getDefaultInstanceForType()| Type | Description |
| DocumentSchema |
getDescription()
public String getDescription()Schema description.
string description = 7;
| Type | Description |
| String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Schema description.
string description = 7;
| Type | Description |
| ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDisplayName()
public String getDisplayName()Required. Name of the schema given by the user. Must be unique per customer.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. Name of the schema given by the user. Must be unique per customer.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for displayName. |
getDocumentIsFolder()
public boolean getDocumentIsFolder()Document Type, true refers the document is a folder, otherwise it is a typical document.
bool document_is_folder = 4;
| Type | Description |
| boolean | The documentIsFolder. |
getName()
public String getName()The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
string name = 1;
| Type | Description |
| String | The name. |
getNameBytes()
public ByteString getNameBytes()The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
string name = 1;
| Type | Description |
| ByteString | The bytes for name. |
getPropertyDefinitions(int index)
public PropertyDefinition getPropertyDefinitions(int index)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| index | int |
| Type | Description |
| PropertyDefinition |
getPropertyDefinitionsBuilder(int index)
public PropertyDefinition.Builder getPropertyDefinitionsBuilder(int index)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| index | int |
| Type | Description |
| PropertyDefinition.Builder |
getPropertyDefinitionsBuilderList()
public List<PropertyDefinition.Builder> getPropertyDefinitionsBuilderList()Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Type | Description |
| List<Builder> |
getPropertyDefinitionsCount()
public int getPropertyDefinitionsCount()Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Type | Description |
| int |
getPropertyDefinitionsList()
public List<PropertyDefinition> getPropertyDefinitionsList()Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Type | Description |
| List<PropertyDefinition> |
getPropertyDefinitionsOrBuilder(int index)
public PropertyDefinitionOrBuilder getPropertyDefinitionsOrBuilder(int index)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| index | int |
| Type | Description |
| PropertyDefinitionOrBuilder |
getPropertyDefinitionsOrBuilderList()
public List<? extends PropertyDefinitionOrBuilder> getPropertyDefinitionsOrBuilderList()Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Type | Description |
| List<? extends com.google.cloud.contentwarehouse.v1.PropertyDefinitionOrBuilder> |
getUpdateTime()
public Timestamp getUpdateTime()Output only. The time when the document schema is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The time when the document schema is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the document schema is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. The time when the document schema is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeCreateTime(Timestamp value)
public DocumentSchema.Builder mergeCreateTime(Timestamp value)Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| DocumentSchema.Builder |
mergeFrom(DocumentSchema other)
public DocumentSchema.Builder mergeFrom(DocumentSchema other)| Name | Description |
| other | DocumentSchema |
| Type | Description |
| DocumentSchema.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DocumentSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| DocumentSchema.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public DocumentSchema.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| DocumentSchema.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| DocumentSchema.Builder |
mergeUpdateTime(Timestamp value)
public DocumentSchema.Builder mergeUpdateTime(Timestamp value)Output only. The time when the document schema is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| DocumentSchema.Builder |
removePropertyDefinitions(int index)
public DocumentSchema.Builder removePropertyDefinitions(int index)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| index | int |
| Type | Description |
| DocumentSchema.Builder |
setCreateTime(Timestamp value)
public DocumentSchema.Builder setCreateTime(Timestamp value)Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| DocumentSchema.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public DocumentSchema.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| DocumentSchema.Builder |
setDescription(String value)
public DocumentSchema.Builder setDescription(String value)Schema description.
string description = 7;
| Name | Description |
| value | StringThe description to set. |
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public DocumentSchema.Builder setDescriptionBytes(ByteString value)Schema description.
string description = 7;
| Name | Description |
| value | ByteStringThe bytes for description to set. |
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
setDisplayName(String value)
public DocumentSchema.Builder setDisplayName(String value)Required. Name of the schema given by the user. Must be unique per customer.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | StringThe displayName to set. |
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public DocumentSchema.Builder setDisplayNameBytes(ByteString value)Required. Name of the schema given by the user. Must be unique per customer.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ByteStringThe bytes for displayName to set. |
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
setDocumentIsFolder(boolean value)
public DocumentSchema.Builder setDocumentIsFolder(boolean value)Document Type, true refers the document is a folder, otherwise it is a typical document.
bool document_is_folder = 4;
| Name | Description |
| value | booleanThe documentIsFolder to set. |
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| DocumentSchema.Builder |
setName(String value)
public DocumentSchema.Builder setName(String value)The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
string name = 1;
| Name | Description |
| value | StringThe name to set. |
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public DocumentSchema.Builder setNameBytes(ByteString value)The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema.
string name = 1;
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| Type | Description |
| DocumentSchema.Builder | This builder for chaining. |
setPropertyDefinitions(int index, PropertyDefinition value)
public DocumentSchema.Builder setPropertyDefinitions(int index, PropertyDefinition value)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| index | int |
| value | PropertyDefinition |
| Type | Description |
| DocumentSchema.Builder |
setPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)
public DocumentSchema.Builder setPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
| Name | Description |
| index | int |
| builderForValue | PropertyDefinition.Builder |
| Type | Description |
| DocumentSchema.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| DocumentSchema.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| DocumentSchema.Builder |
setUpdateTime(Timestamp value)
public DocumentSchema.Builder setUpdateTime(Timestamp value)Output only. The time when the document schema is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| DocumentSchema.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public DocumentSchema.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The time when the document schema is last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| DocumentSchema.Builder |