Interface DocumentSchemaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DocumentSchema
,DocumentSchema.Builder
public interface DocumentSchemaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getDescription()
Schema description.com.google.protobuf.ByteString
getDescriptionBytes()
Schema description.String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.boolean
getDocumentIsFolder()
Document Type, true refers the document is a folder, otherwise it is a typical document.String
getName()
The resource name of the document schema.com.google.protobuf.ByteString
getNameBytes()
The resource name of the document schema.PropertyDefinition
getPropertyDefinitions(int index)
Document details.int
getPropertyDefinitionsCount()
Document details.List<PropertyDefinition>
getPropertyDefinitionsList()
Document details.PropertyDefinitionOrBuilder
getPropertyDefinitionsOrBuilder(int index)
Document details.List<? extends PropertyDefinitionOrBuilder>
getPropertyDefinitionsOrBuilderList()
Document details.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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;
- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()
Required. Name of the schema given by the user. Must be unique per project.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Required. Name of the schema given by the user. Must be unique per project.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for displayName.
-
getPropertyDefinitionsList
List<PropertyDefinition> getPropertyDefinitionsList()
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
getPropertyDefinitions
PropertyDefinition getPropertyDefinitions(int index)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
getPropertyDefinitionsCount
int getPropertyDefinitionsCount()
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
getPropertyDefinitionsOrBuilderList
List<? extends PropertyDefinitionOrBuilder> getPropertyDefinitionsOrBuilderList()
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
getPropertyDefinitionsOrBuilder
PropertyDefinitionOrBuilder getPropertyDefinitionsOrBuilder(int index)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
getDocumentIsFolder
boolean getDocumentIsFolder()
Document Type, true refers the document is a folder, otherwise it is a typical document.
bool document_is_folder = 4;
- Returns:
- The documentIsFolder.
-
hasUpdateTime
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];
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.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];
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.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];
-
hasCreateTime
boolean hasCreateTime()
Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDescription
String getDescription()
Schema description.
string description = 7;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Schema description.
string description = 7;
- Returns:
- The bytes for description.
-
-