Class PropertyDefinition.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
- com.google.cloud.contentwarehouse.v1.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 typegoogle.cloud.contentwarehouse.v1.PropertyDefinition
-
-
Method Summary
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
clear
public PropertyDefinition.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
getDefaultInstanceForType
public PropertyDefinition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PropertyDefinition build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PropertyDefinition buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PropertyDefinition.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
setField
public PropertyDefinition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
clearField
public PropertyDefinition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
clearOneof
public PropertyDefinition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
addRepeatedField
public PropertyDefinition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
mergeFrom
public PropertyDefinition.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PropertyDefinition.Builder>
-
mergeFrom
public PropertyDefinition.Builder mergeFrom(PropertyDefinition other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PropertyDefinition.Builder>
- Throws:
IOException
-
getValueTypeOptionsCase
public PropertyDefinition.ValueTypeOptionsCase getValueTypeOptionsCase()
- Specified by:
getValueTypeOptionsCase
in interfacePropertyDefinitionOrBuilder
-
clearValueTypeOptions
public PropertyDefinition.Builder clearValueTypeOptions()
-
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 interfacePropertyDefinitionOrBuilder
- 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 interfacePropertyDefinitionOrBuilder
- 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.
-
getDisplayName
public String getDisplayName()
The display-name for the property, used for front-end.
string display_name = 12;
- Specified by:
getDisplayName
in interfacePropertyDefinitionOrBuilder
- Returns:
- The displayName.
-
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 interfacePropertyDefinitionOrBuilder
- 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 interfacePropertyDefinitionOrBuilder
- 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 interfacePropertyDefinitionOrBuilder
- 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 interfacePropertyDefinitionOrBuilder
- 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 interfacePropertyDefinitionOrBuilder
- 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 interfacePropertyDefinitionOrBuilder
- 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 interfacePropertyDefinitionOrBuilder
- 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.
-
getRetrievalImportance
public PropertyDefinition.RetrievalImportance getRetrievalImportance()
The retrieval importance of the property during search.
.google.cloud.contentwarehouse.v1.PropertyDefinition.RetrievalImportance retrieval_importance = 18;
- Specified by:
getRetrievalImportance
in interfacePropertyDefinitionOrBuilder
- Returns:
- The retrievalImportance.
-
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 interfacePropertyDefinitionOrBuilder
- Returns:
- Whether the integerTypeOptions field is set.
-
getIntegerTypeOptions
public IntegerTypeOptions getIntegerTypeOptions()
Integer property.
.google.cloud.contentwarehouse.v1.IntegerTypeOptions integer_type_options = 7;
- Specified by:
getIntegerTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- The integerTypeOptions.
-
setIntegerTypeOptions
public PropertyDefinition.Builder setIntegerTypeOptions(IntegerTypeOptions value)
Integer property.
.google.cloud.contentwarehouse.v1.IntegerTypeOptions integer_type_options = 7;
-
setIntegerTypeOptions
public PropertyDefinition.Builder setIntegerTypeOptions(IntegerTypeOptions.Builder builderForValue)
Integer property.
.google.cloud.contentwarehouse.v1.IntegerTypeOptions integer_type_options = 7;
-
mergeIntegerTypeOptions
public PropertyDefinition.Builder mergeIntegerTypeOptions(IntegerTypeOptions value)
Integer property.
.google.cloud.contentwarehouse.v1.IntegerTypeOptions integer_type_options = 7;
-
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;
-
getIntegerTypeOptionsOrBuilder
public IntegerTypeOptionsOrBuilder getIntegerTypeOptionsOrBuilder()
Integer property.
.google.cloud.contentwarehouse.v1.IntegerTypeOptions integer_type_options = 7;
- Specified by:
getIntegerTypeOptionsOrBuilder
in interfacePropertyDefinitionOrBuilder
-
hasFloatTypeOptions
public boolean hasFloatTypeOptions()
Float property.
.google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;
- Specified by:
hasFloatTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- Whether the floatTypeOptions field is set.
-
getFloatTypeOptions
public FloatTypeOptions getFloatTypeOptions()
Float property.
.google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;
- Specified by:
getFloatTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- The floatTypeOptions.
-
setFloatTypeOptions
public PropertyDefinition.Builder setFloatTypeOptions(FloatTypeOptions value)
Float property.
.google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;
-
setFloatTypeOptions
public PropertyDefinition.Builder setFloatTypeOptions(FloatTypeOptions.Builder builderForValue)
Float property.
.google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;
-
mergeFloatTypeOptions
public PropertyDefinition.Builder mergeFloatTypeOptions(FloatTypeOptions value)
Float property.
.google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;
-
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;
-
getFloatTypeOptionsOrBuilder
public FloatTypeOptionsOrBuilder getFloatTypeOptionsOrBuilder()
Float property.
.google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;
- Specified by:
getFloatTypeOptionsOrBuilder
in interfacePropertyDefinitionOrBuilder
-
hasTextTypeOptions
public boolean hasTextTypeOptions()
Text/string property.
.google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;
- Specified by:
hasTextTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- Whether the textTypeOptions field is set.
-
getTextTypeOptions
public TextTypeOptions getTextTypeOptions()
Text/string property.
.google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;
- Specified by:
getTextTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- The textTypeOptions.
-
setTextTypeOptions
public PropertyDefinition.Builder setTextTypeOptions(TextTypeOptions value)
Text/string property.
.google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;
-
setTextTypeOptions
public PropertyDefinition.Builder setTextTypeOptions(TextTypeOptions.Builder builderForValue)
Text/string property.
.google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;
-
mergeTextTypeOptions
public PropertyDefinition.Builder mergeTextTypeOptions(TextTypeOptions value)
Text/string property.
.google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;
-
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;
-
getTextTypeOptionsOrBuilder
public TextTypeOptionsOrBuilder getTextTypeOptionsOrBuilder()
Text/string property.
.google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;
- Specified by:
getTextTypeOptionsOrBuilder
in interfacePropertyDefinitionOrBuilder
-
hasPropertyTypeOptions
public boolean hasPropertyTypeOptions()
Nested structured data property.
.google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;
- Specified by:
hasPropertyTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- Whether the propertyTypeOptions field is set.
-
getPropertyTypeOptions
public PropertyTypeOptions getPropertyTypeOptions()
Nested structured data property.
.google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;
- Specified by:
getPropertyTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- The propertyTypeOptions.
-
setPropertyTypeOptions
public PropertyDefinition.Builder setPropertyTypeOptions(PropertyTypeOptions value)
Nested structured data property.
.google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;
-
setPropertyTypeOptions
public PropertyDefinition.Builder setPropertyTypeOptions(PropertyTypeOptions.Builder builderForValue)
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;
-
getPropertyTypeOptionsOrBuilder
public PropertyTypeOptionsOrBuilder getPropertyTypeOptionsOrBuilder()
Nested structured data property.
.google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;
- Specified by:
getPropertyTypeOptionsOrBuilder
in interfacePropertyDefinitionOrBuilder
-
hasEnumTypeOptions
public boolean hasEnumTypeOptions()
Enum/categorical property.
.google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;
- Specified by:
hasEnumTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- Whether the enumTypeOptions field is set.
-
getEnumTypeOptions
public EnumTypeOptions getEnumTypeOptions()
Enum/categorical property.
.google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;
- Specified by:
getEnumTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- The enumTypeOptions.
-
setEnumTypeOptions
public PropertyDefinition.Builder setEnumTypeOptions(EnumTypeOptions value)
Enum/categorical property.
.google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;
-
setEnumTypeOptions
public PropertyDefinition.Builder setEnumTypeOptions(EnumTypeOptions.Builder builderForValue)
Enum/categorical property.
.google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;
-
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;
-
getEnumTypeOptionsOrBuilder
public EnumTypeOptionsOrBuilder getEnumTypeOptionsOrBuilder()
Enum/categorical property.
.google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;
- Specified by:
getEnumTypeOptionsOrBuilder
in interfacePropertyDefinitionOrBuilder
-
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 interfacePropertyDefinitionOrBuilder
- 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 interfacePropertyDefinitionOrBuilder
- 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;
-
getDateTimeTypeOptionsOrBuilder
public DateTimeTypeOptionsOrBuilder getDateTimeTypeOptionsOrBuilder()
Date time property. It is not supported by CMEK compliant deployment.
.google.cloud.contentwarehouse.v1.DateTimeTypeOptions date_time_type_options = 13;
- Specified by:
getDateTimeTypeOptionsOrBuilder
in interfacePropertyDefinitionOrBuilder
-
hasMapTypeOptions
public boolean hasMapTypeOptions()
Map property.
.google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;
- Specified by:
hasMapTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- Whether the mapTypeOptions field is set.
-
getMapTypeOptions
public MapTypeOptions getMapTypeOptions()
Map property.
.google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;
- Specified by:
getMapTypeOptions
in interfacePropertyDefinitionOrBuilder
- Returns:
- The mapTypeOptions.
-
setMapTypeOptions
public PropertyDefinition.Builder setMapTypeOptions(MapTypeOptions value)
Map property.
.google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;
-
setMapTypeOptions
public PropertyDefinition.Builder setMapTypeOptions(MapTypeOptions.Builder builderForValue)
Map property.
.google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;
-
mergeMapTypeOptions
public PropertyDefinition.Builder mergeMapTypeOptions(MapTypeOptions value)
Map property.
.google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;
-
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;
-
getMapTypeOptionsOrBuilder
public MapTypeOptionsOrBuilder getMapTypeOptionsOrBuilder()
Map property.
.google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;
- Specified by:
getMapTypeOptionsOrBuilder
in interfacePropertyDefinitionOrBuilder
-
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 interfacePropertyDefinitionOrBuilder
- 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 interfacePropertyDefinitionOrBuilder
- 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;
-
getTimestampTypeOptionsOrBuilder
public TimestampTypeOptionsOrBuilder getTimestampTypeOptionsOrBuilder()
Timestamp property. It is not supported by CMEK compliant deployment.
.google.cloud.contentwarehouse.v1.TimestampTypeOptions timestamp_type_options = 16;
- Specified by:
getTimestampTypeOptionsOrBuilder
in interfacePropertyDefinitionOrBuilder
-
getSchemaSourcesList
public List<PropertyDefinition.SchemaSource> getSchemaSourcesList()
The mapping information between this property to another schema source.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
- Specified by:
getSchemaSourcesList
in interfacePropertyDefinitionOrBuilder
-
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 interfacePropertyDefinitionOrBuilder
-
getSchemaSources
public PropertyDefinition.SchemaSource getSchemaSources(int index)
The mapping information between this property to another schema source.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
- Specified by:
getSchemaSources
in interfacePropertyDefinitionOrBuilder
-
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;
-
setSchemaSources
public PropertyDefinition.Builder setSchemaSources(int index, PropertyDefinition.SchemaSource.Builder builderForValue)
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(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;
-
addSchemaSources
public PropertyDefinition.Builder addSchemaSources(PropertyDefinition.SchemaSource.Builder builderForValue)
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.Builder builderForValue)
The mapping information between this property to another schema source.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
-
addAllSchemaSources
public PropertyDefinition.Builder addAllSchemaSources(Iterable<? extends PropertyDefinition.SchemaSource> values)
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;
-
getSchemaSourcesOrBuilder
public PropertyDefinition.SchemaSourceOrBuilder getSchemaSourcesOrBuilder(int index)
The mapping information between this property to another schema source.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
- Specified by:
getSchemaSourcesOrBuilder
in interfacePropertyDefinitionOrBuilder
-
getSchemaSourcesOrBuilderList
public List<? extends PropertyDefinition.SchemaSourceOrBuilder> getSchemaSourcesOrBuilderList()
The mapping information between this property to another schema source.
repeated .google.cloud.contentwarehouse.v1.PropertyDefinition.SchemaSource schema_sources = 19;
- Specified by:
getSchemaSourcesOrBuilderList
in interfacePropertyDefinitionOrBuilder
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
mergeUnknownFields
public final PropertyDefinition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PropertyDefinition.Builder>
-
-