Interface DocumentSchemaOrBuilder (0.39.0)

public interface DocumentSchemaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract 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
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the document schema is created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Schema description.

string description = 7;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Schema description.

string description = 7;

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public abstract 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
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract 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
Type Description
ByteString

The bytes for displayName.

getDocumentIsFolder()

public abstract boolean getDocumentIsFolder()

Document Type, true refers the document is a folder, otherwise it is a typical document.

bool document_is_folder = 4;

Returns
Type Description
boolean

The documentIsFolder.

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getPropertyDefinitions(int index)

public abstract PropertyDefinition getPropertyDefinitions(int index)

Document details.

repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;

Parameter
Name Description
index int
Returns
Type Description
PropertyDefinition

getPropertyDefinitionsCount()

public abstract int getPropertyDefinitionsCount()

Document details.

repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;

Returns
Type Description
int

getPropertyDefinitionsList()

public abstract List<PropertyDefinition> getPropertyDefinitionsList()

Document details.

repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;

Returns
Type Description
List<PropertyDefinition>

getPropertyDefinitionsOrBuilder(int index)

public abstract PropertyDefinitionOrBuilder getPropertyDefinitionsOrBuilder(int index)

Document details.

repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;

Parameter
Name Description
index int
Returns
Type Description
PropertyDefinitionOrBuilder

getPropertyDefinitionsOrBuilderList()

public abstract List<? extends PropertyDefinitionOrBuilder> getPropertyDefinitionsOrBuilderList()

Document details.

repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;

Returns
Type Description
List<? extends com.google.cloud.contentwarehouse.v1.PropertyDefinitionOrBuilder>

getUpdateTime()

public abstract 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
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract 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
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract 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
Type Description
boolean

Whether the updateTime field is set.