Class DocumentSchema.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
- com.google.cloud.contentwarehouse.v1.DocumentSchema.Builder
-
- All Implemented Interfaces:
DocumentSchemaOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DocumentSchema
public static final class DocumentSchema.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder> implements DocumentSchemaOrBuilder
A document schema used to define document structure.
Protobuf typegoogle.cloud.contentwarehouse.v1.DocumentSchema
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentSchema.BuilderaddAllPropertyDefinitions(Iterable<? extends PropertyDefinition> values)Document details.DocumentSchema.BuilderaddPropertyDefinitions(int index, PropertyDefinition value)Document details.DocumentSchema.BuilderaddPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)Document details.DocumentSchema.BuilderaddPropertyDefinitions(PropertyDefinition value)Document details.DocumentSchema.BuilderaddPropertyDefinitions(PropertyDefinition.Builder builderForValue)Document details.PropertyDefinition.BuilderaddPropertyDefinitionsBuilder()Document details.PropertyDefinition.BuilderaddPropertyDefinitionsBuilder(int index)Document details.DocumentSchema.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DocumentSchemabuild()DocumentSchemabuildPartial()DocumentSchema.Builderclear()DocumentSchema.BuilderclearCreateTime()Output only.DocumentSchema.BuilderclearDescription()Schema description.DocumentSchema.BuilderclearDisplayName()Required.DocumentSchema.BuilderclearDocumentIsFolder()Document Type, true refers the document is a folder, otherwise it is a typical document.DocumentSchema.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DocumentSchema.BuilderclearName()The resource name of the document schema.DocumentSchema.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DocumentSchema.BuilderclearPropertyDefinitions()Document details.DocumentSchema.BuilderclearUpdateTime()Output only.DocumentSchema.Builderclone()com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.DocumentSchemagetDefaultInstanceForType()StringgetDescription()Schema description.com.google.protobuf.ByteStringgetDescriptionBytes()Schema description.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.booleangetDocumentIsFolder()Document Type, true refers the document is a folder, otherwise it is a typical document.StringgetName()The resource name of the document schema.com.google.protobuf.ByteStringgetNameBytes()The resource name of the document schema.PropertyDefinitiongetPropertyDefinitions(int index)Document details.PropertyDefinition.BuildergetPropertyDefinitionsBuilder(int index)Document details.List<PropertyDefinition.Builder>getPropertyDefinitionsBuilderList()Document details.intgetPropertyDefinitionsCount()Document details.List<PropertyDefinition>getPropertyDefinitionsList()Document details.PropertyDefinitionOrBuildergetPropertyDefinitionsOrBuilder(int index)Document details.List<? extends PropertyDefinitionOrBuilder>getPropertyDefinitionsOrBuilderList()Document details.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DocumentSchema.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.DocumentSchema.BuildermergeFrom(DocumentSchema other)DocumentSchema.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DocumentSchema.BuildermergeFrom(com.google.protobuf.Message other)DocumentSchema.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DocumentSchema.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.DocumentSchema.BuilderremovePropertyDefinitions(int index)Document details.DocumentSchema.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.DocumentSchema.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.DocumentSchema.BuildersetDescription(String value)Schema description.DocumentSchema.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Schema description.DocumentSchema.BuildersetDisplayName(String value)Required.DocumentSchema.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Required.DocumentSchema.BuildersetDocumentIsFolder(boolean value)Document Type, true refers the document is a folder, otherwise it is a typical document.DocumentSchema.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DocumentSchema.BuildersetName(String value)The resource name of the document schema.DocumentSchema.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name of the document schema.DocumentSchema.BuildersetPropertyDefinitions(int index, PropertyDefinition value)Document details.DocumentSchema.BuildersetPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)Document details.DocumentSchema.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DocumentSchema.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DocumentSchema.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.DocumentSchema.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
clear
public DocumentSchema.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
getDefaultInstanceForType
public DocumentSchema getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DocumentSchema build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DocumentSchema buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DocumentSchema.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
setField
public DocumentSchema.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
clearField
public DocumentSchema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
clearOneof
public DocumentSchema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
setRepeatedField
public DocumentSchema.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
addRepeatedField
public DocumentSchema.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
mergeFrom
public DocumentSchema.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocumentSchema.Builder>
-
mergeFrom
public DocumentSchema.Builder mergeFrom(DocumentSchema other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
mergeFrom
public DocumentSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DocumentSchema.Builder>- Throws:
IOException
-
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;- Specified by:
getNamein interfaceDocumentSchemaOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceDocumentSchemaOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNameBytes
public DocumentSchema.Builder setNameBytes(com.google.protobuf.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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public 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];- Specified by:
getDisplayNamein interfaceDocumentSchemaOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public 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];- Specified by:
getDisplayNameBytesin interfaceDocumentSchemaOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public DocumentSchema.Builder setDisplayName(String value)
Required. Name of the schema given by the user. Must be unique per project.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public DocumentSchema.Builder clearDisplayName()
Required. Name of the schema given by the user. Must be unique per project.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public DocumentSchema.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. Name of the schema given by the user. Must be unique per project.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getPropertyDefinitionsList
public List<PropertyDefinition> getPropertyDefinitionsList()
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;- Specified by:
getPropertyDefinitionsListin interfaceDocumentSchemaOrBuilder
-
getPropertyDefinitionsCount
public int getPropertyDefinitionsCount()
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;- Specified by:
getPropertyDefinitionsCountin interfaceDocumentSchemaOrBuilder
-
getPropertyDefinitions
public PropertyDefinition getPropertyDefinitions(int index)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;- Specified by:
getPropertyDefinitionsin interfaceDocumentSchemaOrBuilder
-
setPropertyDefinitions
public DocumentSchema.Builder setPropertyDefinitions(int index, PropertyDefinition value)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
setPropertyDefinitions
public DocumentSchema.Builder setPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
addPropertyDefinitions
public DocumentSchema.Builder addPropertyDefinitions(PropertyDefinition value)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
addPropertyDefinitions
public DocumentSchema.Builder addPropertyDefinitions(int index, PropertyDefinition value)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
addPropertyDefinitions
public DocumentSchema.Builder addPropertyDefinitions(PropertyDefinition.Builder builderForValue)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
addPropertyDefinitions
public DocumentSchema.Builder addPropertyDefinitions(int index, PropertyDefinition.Builder builderForValue)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
addAllPropertyDefinitions
public DocumentSchema.Builder addAllPropertyDefinitions(Iterable<? extends PropertyDefinition> values)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
clearPropertyDefinitions
public DocumentSchema.Builder clearPropertyDefinitions()
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
removePropertyDefinitions
public DocumentSchema.Builder removePropertyDefinitions(int index)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
getPropertyDefinitionsBuilder
public PropertyDefinition.Builder getPropertyDefinitionsBuilder(int index)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
getPropertyDefinitionsOrBuilder
public PropertyDefinitionOrBuilder getPropertyDefinitionsOrBuilder(int index)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;- Specified by:
getPropertyDefinitionsOrBuilderin interfaceDocumentSchemaOrBuilder
-
getPropertyDefinitionsOrBuilderList
public List<? extends PropertyDefinitionOrBuilder> getPropertyDefinitionsOrBuilderList()
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;- Specified by:
getPropertyDefinitionsOrBuilderListin interfaceDocumentSchemaOrBuilder
-
addPropertyDefinitionsBuilder
public PropertyDefinition.Builder addPropertyDefinitionsBuilder()
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
addPropertyDefinitionsBuilder
public PropertyDefinition.Builder addPropertyDefinitionsBuilder(int index)
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
getPropertyDefinitionsBuilderList
public List<PropertyDefinition.Builder> getPropertyDefinitionsBuilderList()
Document details.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition property_definitions = 3;
-
getDocumentIsFolder
public boolean getDocumentIsFolder()
Document Type, true refers the document is a folder, otherwise it is a typical document.
bool document_is_folder = 4;- Specified by:
getDocumentIsFolderin interfaceDocumentSchemaOrBuilder- Returns:
- The documentIsFolder.
-
setDocumentIsFolder
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;- Parameters:
value- The documentIsFolder to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
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];- Specified by:
hasUpdateTimein interfaceDocumentSchemaOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceDocumentSchemaOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public DocumentSchema.Builder setUpdateTime(com.google.protobuf.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];
-
setUpdateTime
public DocumentSchema.Builder setUpdateTime(com.google.protobuf.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];
-
mergeUpdateTime
public DocumentSchema.Builder mergeUpdateTime(com.google.protobuf.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];
-
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];
-
getUpdateTimeBuilder
public com.google.protobuf.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];
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceDocumentSchemaOrBuilder
-
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];- Specified by:
hasCreateTimein interfaceDocumentSchemaOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceDocumentSchemaOrBuilder- Returns:
- The createTime.
-
setCreateTime
public DocumentSchema.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public DocumentSchema.Builder setCreateTime(com.google.protobuf.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];
-
mergeCreateTime
public DocumentSchema.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the document schema is created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getCreateTimeBuilder
public com.google.protobuf.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];
-
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceDocumentSchemaOrBuilder
-
getDescription
public String getDescription()
Schema description.
string description = 7;- Specified by:
getDescriptionin interfaceDocumentSchemaOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Schema description.
string description = 7;- Specified by:
getDescriptionBytesin interfaceDocumentSchemaOrBuilder- Returns:
- The bytes for description.
-
setDescription
public DocumentSchema.Builder setDescription(String value)
Schema description.
string description = 7;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public DocumentSchema.Builder clearDescription()
Schema description.
string description = 7;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public DocumentSchema.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Schema description.
string description = 7;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DocumentSchema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
mergeUnknownFields
public final DocumentSchema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DocumentSchema.Builder>
-
-