Class PropertyDefinition.Builder

  • All Implemented Interfaces:
    PropertyDefinitionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    PropertyDefinition

    public static final class PropertyDefinition.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
    implements PropertyDefinitionOrBuilder
     Defines the metadata for a schema property.
     
    Protobuf type google.cloud.contentwarehouse.v1.PropertyDefinition
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • clear

        public PropertyDefinition.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • getDefaultInstanceForType

        public PropertyDefinition getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public PropertyDefinition build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public PropertyDefinition buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public PropertyDefinition.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • setField

        public PropertyDefinition.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • clearField

        public PropertyDefinition.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • clearOneof

        public PropertyDefinition.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • setRepeatedField

        public PropertyDefinition.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • addRepeatedField

        public PropertyDefinition.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • mergeFrom

        public PropertyDefinition.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PropertyDefinition.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • mergeFrom

        public PropertyDefinition.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PropertyDefinition.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. The name of the metadata property.
         Must be unique within a document schema and is case insensitive.
         Names must be non-blank, start with a letter, and can contain alphanumeric
         characters and: /, :, -, _, and .
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getName in interface PropertyDefinitionOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The name of the metadata property.
         Must be unique within a document schema and is case insensitive.
         Names must be non-blank, start with a letter, and can contain alphanumeric
         characters and: /, :, -, _, and .
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameBytes in interface PropertyDefinitionOrBuilder
        Returns:
        The bytes for name.
      • setName

        public PropertyDefinition.Builder setName​(String value)
         Required. The name of the metadata property.
         Must be unique within a document schema and is case insensitive.
         Names must be non-blank, start with a letter, and can contain alphanumeric
         characters and: /, :, -, _, and .
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public PropertyDefinition.Builder clearName()
         Required. The name of the metadata property.
         Must be unique within a document schema and is case insensitive.
         Names must be non-blank, start with a letter, and can contain alphanumeric
         characters and: /, :, -, _, and .
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setNameBytes

        public PropertyDefinition.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of the metadata property.
         Must be unique within a document schema and is case insensitive.
         Names must be non-blank, start with a letter, and can contain alphanumeric
         characters and: /, :, -, _, and .
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         The display-name for the property, used for front-end.
         
        string display_name = 12;
        Specified by:
        getDisplayNameBytes in interface PropertyDefinitionOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public PropertyDefinition.Builder setDisplayName​(String value)
         The display-name for the property, used for front-end.
         
        string display_name = 12;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public PropertyDefinition.Builder clearDisplayName()
         The display-name for the property, used for front-end.
         
        string display_name = 12;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public PropertyDefinition.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The display-name for the property, used for front-end.
         
        string display_name = 12;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getIsRepeatable

        public boolean getIsRepeatable()
         Whether the property can have multiple values.
         
        bool is_repeatable = 2;
        Specified by:
        getIsRepeatable in interface PropertyDefinitionOrBuilder
        Returns:
        The isRepeatable.
      • setIsRepeatable

        public PropertyDefinition.Builder setIsRepeatable​(boolean value)
         Whether the property can have multiple values.
         
        bool is_repeatable = 2;
        Parameters:
        value - The isRepeatable to set.
        Returns:
        This builder for chaining.
      • clearIsRepeatable

        public PropertyDefinition.Builder clearIsRepeatable()
         Whether the property can have multiple values.
         
        bool is_repeatable = 2;
        Returns:
        This builder for chaining.
      • getIsFilterable

        public boolean getIsFilterable()
         Whether the property can be filtered. If this is a sub-property, all the
         parent properties must be marked filterable.
         
        bool is_filterable = 3;
        Specified by:
        getIsFilterable in interface PropertyDefinitionOrBuilder
        Returns:
        The isFilterable.
      • setIsFilterable

        public PropertyDefinition.Builder setIsFilterable​(boolean value)
         Whether the property can be filtered. If this is a sub-property, all the
         parent properties must be marked filterable.
         
        bool is_filterable = 3;
        Parameters:
        value - The isFilterable to set.
        Returns:
        This builder for chaining.
      • clearIsFilterable

        public PropertyDefinition.Builder clearIsFilterable()
         Whether the property can be filtered. If this is a sub-property, all the
         parent properties must be marked filterable.
         
        bool is_filterable = 3;
        Returns:
        This builder for chaining.
      • getIsSearchable

        public boolean getIsSearchable()
         Indicates that the property should be included in a global search.
         
        bool is_searchable = 4;
        Specified by:
        getIsSearchable in interface PropertyDefinitionOrBuilder
        Returns:
        The isSearchable.
      • setIsSearchable

        public PropertyDefinition.Builder setIsSearchable​(boolean value)
         Indicates that the property should be included in a global search.
         
        bool is_searchable = 4;
        Parameters:
        value - The isSearchable to set.
        Returns:
        This builder for chaining.
      • clearIsSearchable

        public PropertyDefinition.Builder clearIsSearchable()
         Indicates that the property should be included in a global search.
         
        bool is_searchable = 4;
        Returns:
        This builder for chaining.
      • getIsMetadata

        public boolean getIsMetadata()
         Whether the property is user supplied metadata.
         This out-of-the box placeholder setting can be used to tag derived
         properties. Its value and interpretation logic should be implemented by API
         user.
         
        bool is_metadata = 5;
        Specified by:
        getIsMetadata in interface PropertyDefinitionOrBuilder
        Returns:
        The isMetadata.
      • setIsMetadata

        public PropertyDefinition.Builder setIsMetadata​(boolean value)
         Whether the property is user supplied metadata.
         This out-of-the box placeholder setting can be used to tag derived
         properties. Its value and interpretation logic should be implemented by API
         user.
         
        bool is_metadata = 5;
        Parameters:
        value - The isMetadata to set.
        Returns:
        This builder for chaining.
      • clearIsMetadata

        public PropertyDefinition.Builder clearIsMetadata()
         Whether the property is user supplied metadata.
         This out-of-the box placeholder setting can be used to tag derived
         properties. Its value and interpretation logic should be implemented by API
         user.
         
        bool is_metadata = 5;
        Returns:
        This builder for chaining.
      • getIsRequired

        public boolean getIsRequired()
         Whether the property is mandatory.
         Default is 'false', i.e. populating property value can be skipped.
         If 'true' then user must populate the value for this property.
         
        bool is_required = 14;
        Specified by:
        getIsRequired in interface PropertyDefinitionOrBuilder
        Returns:
        The isRequired.
      • setIsRequired

        public PropertyDefinition.Builder setIsRequired​(boolean value)
         Whether the property is mandatory.
         Default is 'false', i.e. populating property value can be skipped.
         If 'true' then user must populate the value for this property.
         
        bool is_required = 14;
        Parameters:
        value - The isRequired to set.
        Returns:
        This builder for chaining.
      • clearIsRequired

        public PropertyDefinition.Builder clearIsRequired()
         Whether the property is mandatory.
         Default is 'false', i.e. populating property value can be skipped.
         If 'true' then user must populate the value for this property.
         
        bool is_required = 14;
        Returns:
        This builder for chaining.
      • getRetrievalImportanceValue

        public int getRetrievalImportanceValue()
         The retrieval importance of the property during search.
         
        .google.cloud.contentwarehouse.v1.PropertyDefinition.RetrievalImportance retrieval_importance = 18;
        Specified by:
        getRetrievalImportanceValue in interface PropertyDefinitionOrBuilder
        Returns:
        The enum numeric value on the wire for retrievalImportance.
      • setRetrievalImportanceValue

        public PropertyDefinition.Builder setRetrievalImportanceValue​(int value)
         The retrieval importance of the property during search.
         
        .google.cloud.contentwarehouse.v1.PropertyDefinition.RetrievalImportance retrieval_importance = 18;
        Parameters:
        value - The enum numeric value on the wire for retrievalImportance to set.
        Returns:
        This builder for chaining.
      • setRetrievalImportance

        public PropertyDefinition.Builder setRetrievalImportance​(PropertyDefinition.RetrievalImportance value)
         The retrieval importance of the property during search.
         
        .google.cloud.contentwarehouse.v1.PropertyDefinition.RetrievalImportance retrieval_importance = 18;
        Parameters:
        value - The retrievalImportance to set.
        Returns:
        This builder for chaining.
      • clearRetrievalImportance

        public PropertyDefinition.Builder clearRetrievalImportance()
         The retrieval importance of the property during search.
         
        .google.cloud.contentwarehouse.v1.PropertyDefinition.RetrievalImportance retrieval_importance = 18;
        Returns:
        This builder for chaining.
      • hasIntegerTypeOptions

        public boolean hasIntegerTypeOptions()
         Integer property.
         
        .google.cloud.contentwarehouse.v1.IntegerTypeOptions integer_type_options = 7;
        Specified by:
        hasIntegerTypeOptions in interface PropertyDefinitionOrBuilder
        Returns:
        Whether the integerTypeOptions field is set.
      • clearIntegerTypeOptions

        public PropertyDefinition.Builder clearIntegerTypeOptions()
         Integer property.
         
        .google.cloud.contentwarehouse.v1.IntegerTypeOptions integer_type_options = 7;
      • getIntegerTypeOptionsBuilder

        public IntegerTypeOptions.Builder getIntegerTypeOptionsBuilder()
         Integer property.
         
        .google.cloud.contentwarehouse.v1.IntegerTypeOptions integer_type_options = 7;
      • hasFloatTypeOptions

        public boolean hasFloatTypeOptions()
         Float property.
         
        .google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;
        Specified by:
        hasFloatTypeOptions in interface PropertyDefinitionOrBuilder
        Returns:
        Whether the floatTypeOptions field is set.
      • clearFloatTypeOptions

        public PropertyDefinition.Builder clearFloatTypeOptions()
         Float property.
         
        .google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;
      • getFloatTypeOptionsBuilder

        public FloatTypeOptions.Builder getFloatTypeOptionsBuilder()
         Float property.
         
        .google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;
      • hasTextTypeOptions

        public boolean hasTextTypeOptions()
         Text/string property.
         
        .google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;
        Specified by:
        hasTextTypeOptions in interface PropertyDefinitionOrBuilder
        Returns:
        Whether the textTypeOptions field is set.
      • clearTextTypeOptions

        public PropertyDefinition.Builder clearTextTypeOptions()
         Text/string property.
         
        .google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;
      • getTextTypeOptionsBuilder

        public TextTypeOptions.Builder getTextTypeOptionsBuilder()
         Text/string property.
         
        .google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;
      • hasPropertyTypeOptions

        public boolean hasPropertyTypeOptions()
         Nested structured data property.
         
        .google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;
        Specified by:
        hasPropertyTypeOptions in interface PropertyDefinitionOrBuilder
        Returns:
        Whether the propertyTypeOptions field is set.
      • setPropertyTypeOptions

        public PropertyDefinition.Builder setPropertyTypeOptions​(PropertyTypeOptions value)
         Nested structured data property.
         
        .google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;
      • mergePropertyTypeOptions

        public PropertyDefinition.Builder mergePropertyTypeOptions​(PropertyTypeOptions value)
         Nested structured data property.
         
        .google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;
      • clearPropertyTypeOptions

        public PropertyDefinition.Builder clearPropertyTypeOptions()
         Nested structured data property.
         
        .google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;
      • getPropertyTypeOptionsBuilder

        public PropertyTypeOptions.Builder getPropertyTypeOptionsBuilder()
         Nested structured data property.
         
        .google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;
      • hasEnumTypeOptions

        public boolean hasEnumTypeOptions()
         Enum/categorical property.
         
        .google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;
        Specified by:
        hasEnumTypeOptions in interface PropertyDefinitionOrBuilder
        Returns:
        Whether the enumTypeOptions field is set.
      • mergeEnumTypeOptions

        public PropertyDefinition.Builder mergeEnumTypeOptions​(EnumTypeOptions value)
         Enum/categorical property.
         
        .google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;
      • clearEnumTypeOptions

        public PropertyDefinition.Builder clearEnumTypeOptions()
         Enum/categorical property.
         
        .google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;
      • getEnumTypeOptionsBuilder

        public EnumTypeOptions.Builder getEnumTypeOptionsBuilder()
         Enum/categorical property.
         
        .google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;
      • hasDateTimeTypeOptions

        public boolean hasDateTimeTypeOptions()
         Date time property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.DateTimeTypeOptions date_time_type_options = 13;
        Specified by:
        hasDateTimeTypeOptions in interface PropertyDefinitionOrBuilder
        Returns:
        Whether the dateTimeTypeOptions field is set.
      • getDateTimeTypeOptions

        public DateTimeTypeOptions getDateTimeTypeOptions()
         Date time property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.DateTimeTypeOptions date_time_type_options = 13;
        Specified by:
        getDateTimeTypeOptions in interface PropertyDefinitionOrBuilder
        Returns:
        The dateTimeTypeOptions.
      • setDateTimeTypeOptions

        public PropertyDefinition.Builder setDateTimeTypeOptions​(DateTimeTypeOptions value)
         Date time property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.DateTimeTypeOptions date_time_type_options = 13;
      • setDateTimeTypeOptions

        public PropertyDefinition.Builder setDateTimeTypeOptions​(DateTimeTypeOptions.Builder builderForValue)
         Date time property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.DateTimeTypeOptions date_time_type_options = 13;
      • mergeDateTimeTypeOptions

        public PropertyDefinition.Builder mergeDateTimeTypeOptions​(DateTimeTypeOptions value)
         Date time property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.DateTimeTypeOptions date_time_type_options = 13;
      • clearDateTimeTypeOptions

        public PropertyDefinition.Builder clearDateTimeTypeOptions()
         Date time property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.DateTimeTypeOptions date_time_type_options = 13;
      • getDateTimeTypeOptionsBuilder

        public DateTimeTypeOptions.Builder getDateTimeTypeOptionsBuilder()
         Date time property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.DateTimeTypeOptions date_time_type_options = 13;
      • hasMapTypeOptions

        public boolean hasMapTypeOptions()
         Map property.
         
        .google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;
        Specified by:
        hasMapTypeOptions in interface PropertyDefinitionOrBuilder
        Returns:
        Whether the mapTypeOptions field is set.
      • clearMapTypeOptions

        public PropertyDefinition.Builder clearMapTypeOptions()
         Map property.
         
        .google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;
      • getMapTypeOptionsBuilder

        public MapTypeOptions.Builder getMapTypeOptionsBuilder()
         Map property.
         
        .google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;
      • hasTimestampTypeOptions

        public boolean hasTimestampTypeOptions()
         Timestamp property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.TimestampTypeOptions timestamp_type_options = 16;
        Specified by:
        hasTimestampTypeOptions in interface PropertyDefinitionOrBuilder
        Returns:
        Whether the timestampTypeOptions field is set.
      • getTimestampTypeOptions

        public TimestampTypeOptions getTimestampTypeOptions()
         Timestamp property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.TimestampTypeOptions timestamp_type_options = 16;
        Specified by:
        getTimestampTypeOptions in interface PropertyDefinitionOrBuilder
        Returns:
        The timestampTypeOptions.
      • setTimestampTypeOptions

        public PropertyDefinition.Builder setTimestampTypeOptions​(TimestampTypeOptions value)
         Timestamp property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.TimestampTypeOptions timestamp_type_options = 16;
      • setTimestampTypeOptions

        public PropertyDefinition.Builder setTimestampTypeOptions​(TimestampTypeOptions.Builder builderForValue)
         Timestamp property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.TimestampTypeOptions timestamp_type_options = 16;
      • mergeTimestampTypeOptions

        public PropertyDefinition.Builder mergeTimestampTypeOptions​(TimestampTypeOptions value)
         Timestamp property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.TimestampTypeOptions timestamp_type_options = 16;
      • clearTimestampTypeOptions

        public PropertyDefinition.Builder clearTimestampTypeOptions()
         Timestamp property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.TimestampTypeOptions timestamp_type_options = 16;
      • getTimestampTypeOptionsBuilder

        public TimestampTypeOptions.Builder getTimestampTypeOptionsBuilder()
         Timestamp property.
         It is not supported by CMEK compliant deployment.
         
        .google.cloud.contentwarehouse.v1.TimestampTypeOptions timestamp_type_options = 16;
      • getSchemaSourcesCount

        public int getSchemaSourcesCount()
         The mapping information between this property to another schema source.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
        Specified by:
        getSchemaSourcesCount in interface PropertyDefinitionOrBuilder
      • setSchemaSources

        public PropertyDefinition.Builder setSchemaSources​(int index,
                                                           PropertyDefinition.SchemaSource value)
         The mapping information between this property to another schema source.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
      • addSchemaSources

        public PropertyDefinition.Builder addSchemaSources​(int index,
                                                           PropertyDefinition.SchemaSource value)
         The mapping information between this property to another schema source.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
      • clearSchemaSources

        public PropertyDefinition.Builder clearSchemaSources()
         The mapping information between this property to another schema source.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
      • removeSchemaSources

        public PropertyDefinition.Builder removeSchemaSources​(int index)
         The mapping information between this property to another schema source.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
      • getSchemaSourcesBuilder

        public PropertyDefinition.SchemaSource.Builder getSchemaSourcesBuilder​(int index)
         The mapping information between this property to another schema source.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
      • addSchemaSourcesBuilder

        public PropertyDefinition.SchemaSource.Builder addSchemaSourcesBuilder()
         The mapping information between this property to another schema source.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
      • addSchemaSourcesBuilder

        public PropertyDefinition.SchemaSource.Builder addSchemaSourcesBuilder​(int index)
         The mapping information between this property to another schema source.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
      • getSchemaSourcesBuilderList

        public List<PropertyDefinition.SchemaSource.Builder> getSchemaSourcesBuilderList()
         The mapping information between this property to another schema source.
         
        repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
      • setUnknownFields

        public final PropertyDefinition.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
      • mergeUnknownFields

        public final PropertyDefinition.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>