Class PropertyDefinition
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.contentwarehouse.v1.PropertyDefinition
-
- All Implemented Interfaces:
PropertyDefinitionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PropertyDefinition extends com.google.protobuf.GeneratedMessageV3 implements PropertyDefinitionOrBuilder
Defines the metadata for a schema property.
Protobuf typegoogle.cloud.contentwarehouse.v1.PropertyDefinition- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertyDefinition.BuilderDefines the metadata for a schema property.static classPropertyDefinition.RetrievalImportanceStores the retrieval importance.static classPropertyDefinition.SchemaSourceThe schema source information.static interfacePropertyDefinition.SchemaSourceOrBuilderstatic classPropertyDefinition.ValueTypeOptionsCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDATE_TIME_TYPE_OPTIONS_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intENUM_TYPE_OPTIONS_FIELD_NUMBERstatic intFLOAT_TYPE_OPTIONS_FIELD_NUMBERstatic intINTEGER_TYPE_OPTIONS_FIELD_NUMBERstatic intIS_FILTERABLE_FIELD_NUMBERstatic intIS_METADATA_FIELD_NUMBERstatic intIS_REPEATABLE_FIELD_NUMBERstatic intIS_REQUIRED_FIELD_NUMBERstatic intIS_SEARCHABLE_FIELD_NUMBERstatic intMAP_TYPE_OPTIONS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPROPERTY_TYPE_OPTIONS_FIELD_NUMBERstatic intRETRIEVAL_IMPORTANCE_FIELD_NUMBERstatic intSCHEMA_SOURCES_FIELD_NUMBERstatic intTEXT_TYPE_OPTIONS_FIELD_NUMBERstatic intTIMESTAMP_TYPE_OPTIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DateTimeTypeOptionsgetDateTimeTypeOptions()Date time property.DateTimeTypeOptionsOrBuildergetDateTimeTypeOptionsOrBuilder()Date time property.static PropertyDefinitiongetDefaultInstance()PropertyDefinitiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()The display-name for the property, used for front-end.com.google.protobuf.ByteStringgetDisplayNameBytes()The display-name for the property, used for front-end.EnumTypeOptionsgetEnumTypeOptions()Enum/categorical property.EnumTypeOptionsOrBuildergetEnumTypeOptionsOrBuilder()Enum/categorical property.FloatTypeOptionsgetFloatTypeOptions()Float property.FloatTypeOptionsOrBuildergetFloatTypeOptionsOrBuilder()Float property.IntegerTypeOptionsgetIntegerTypeOptions()Integer property.IntegerTypeOptionsOrBuildergetIntegerTypeOptionsOrBuilder()Integer property.booleangetIsFilterable()Whether the property can be filtered.booleangetIsMetadata()Whether the property is user supplied metadata.booleangetIsRepeatable()Whether the property can have multiple values.booleangetIsRequired()Whether the property is mandatory.booleangetIsSearchable()Indicates that the property should be included in a global search.MapTypeOptionsgetMapTypeOptions()Map property.MapTypeOptionsOrBuildergetMapTypeOptionsOrBuilder()Map property.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.com.google.protobuf.Parser<PropertyDefinition>getParserForType()PropertyTypeOptionsgetPropertyTypeOptions()Nested structured data property.PropertyTypeOptionsOrBuildergetPropertyTypeOptionsOrBuilder()Nested structured data property.PropertyDefinition.RetrievalImportancegetRetrievalImportance()The retrieval importance of the property during search.intgetRetrievalImportanceValue()The retrieval importance of the property during search.PropertyDefinition.SchemaSourcegetSchemaSources(int index)The mapping information between this property to another schema source.intgetSchemaSourcesCount()The mapping information between this property to another schema source.List<PropertyDefinition.SchemaSource>getSchemaSourcesList()The mapping information between this property to another schema source.PropertyDefinition.SchemaSourceOrBuildergetSchemaSourcesOrBuilder(int index)The mapping information between this property to another schema source.List<? extends PropertyDefinition.SchemaSourceOrBuilder>getSchemaSourcesOrBuilderList()The mapping information between this property to another schema source.intgetSerializedSize()TextTypeOptionsgetTextTypeOptions()Text/string property.TextTypeOptionsOrBuildergetTextTypeOptionsOrBuilder()Text/string property.TimestampTypeOptionsgetTimestampTypeOptions()Timestamp property.TimestampTypeOptionsOrBuildergetTimestampTypeOptionsOrBuilder()Timestamp property.PropertyDefinition.ValueTypeOptionsCasegetValueTypeOptionsCase()booleanhasDateTimeTypeOptions()Date time property.booleanhasEnumTypeOptions()Enum/categorical property.booleanhasFloatTypeOptions()Float property.inthashCode()booleanhasIntegerTypeOptions()Integer property.booleanhasMapTypeOptions()Map property.booleanhasPropertyTypeOptions()Nested structured data property.booleanhasTextTypeOptions()Text/string property.booleanhasTimestampTypeOptions()Timestamp property.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PropertyDefinition.BuildernewBuilder()static PropertyDefinition.BuildernewBuilder(PropertyDefinition prototype)PropertyDefinition.BuildernewBuilderForType()protected PropertyDefinition.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PropertyDefinitionparseDelimitedFrom(InputStream input)static PropertyDefinitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PropertyDefinitionparseFrom(byte[] data)static PropertyDefinitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PropertyDefinitionparseFrom(com.google.protobuf.ByteString data)static PropertyDefinitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PropertyDefinitionparseFrom(com.google.protobuf.CodedInputStream input)static PropertyDefinitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PropertyDefinitionparseFrom(InputStream input)static PropertyDefinitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PropertyDefinitionparseFrom(ByteBuffer data)static PropertyDefinitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PropertyDefinition>parser()PropertyDefinition.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_REPEATABLE_FIELD_NUMBER
public static final int IS_REPEATABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_FILTERABLE_FIELD_NUMBER
public static final int IS_FILTERABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_SEARCHABLE_FIELD_NUMBER
public static final int IS_SEARCHABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_METADATA_FIELD_NUMBER
public static final int IS_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_REQUIRED_FIELD_NUMBER
public static final int IS_REQUIRED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRIEVAL_IMPORTANCE_FIELD_NUMBER
public static final int RETRIEVAL_IMPORTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTEGER_TYPE_OPTIONS_FIELD_NUMBER
public static final int INTEGER_TYPE_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLOAT_TYPE_OPTIONS_FIELD_NUMBER
public static final int FLOAT_TYPE_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_TYPE_OPTIONS_FIELD_NUMBER
public static final int TEXT_TYPE_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPERTY_TYPE_OPTIONS_FIELD_NUMBER
public static final int PROPERTY_TYPE_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENUM_TYPE_OPTIONS_FIELD_NUMBER
public static final int ENUM_TYPE_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATE_TIME_TYPE_OPTIONS_FIELD_NUMBER
public static final int DATE_TIME_TYPE_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAP_TYPE_OPTIONS_FIELD_NUMBER
public static final int MAP_TYPE_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_TYPE_OPTIONS_FIELD_NUMBER
public static final int TIMESTAMP_TYPE_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_SOURCES_FIELD_NUMBER
public static final int SCHEMA_SOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getValueTypeOptionsCase
public PropertyDefinition.ValueTypeOptionsCase getValueTypeOptionsCase()
- Specified by:
getValueTypeOptionsCasein interfacePropertyDefinitionOrBuilder
-
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:
getNamein 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:
getNameBytesin interfacePropertyDefinitionOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
The display-name for the property, used for front-end.
string display_name = 12;- Specified by:
getDisplayNamein 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:
getDisplayNameBytesin interfacePropertyDefinitionOrBuilder- Returns:
- The bytes for displayName.
-
getIsRepeatable
public boolean getIsRepeatable()
Whether the property can have multiple values.
bool is_repeatable = 2;- Specified by:
getIsRepeatablein interfacePropertyDefinitionOrBuilder- Returns:
- The isRepeatable.
-
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:
getIsFilterablein interfacePropertyDefinitionOrBuilder- Returns:
- The isFilterable.
-
getIsSearchable
public boolean getIsSearchable()
Indicates that the property should be included in a global search.
bool is_searchable = 4;- Specified by:
getIsSearchablein interfacePropertyDefinitionOrBuilder- Returns:
- The isSearchable.
-
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:
getIsMetadatain interfacePropertyDefinitionOrBuilder- Returns:
- The isMetadata.
-
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:
getIsRequiredin interfacePropertyDefinitionOrBuilder- Returns:
- The isRequired.
-
getRetrievalImportanceValue
public int getRetrievalImportanceValue()
The retrieval importance of the property during search.
.google.cloud.contentwarehouse.v1.PropertyDefinition.RetrievalImportance retrieval_importance = 18;- Specified by:
getRetrievalImportanceValuein interfacePropertyDefinitionOrBuilder- Returns:
- The enum numeric value on the wire for retrievalImportance.
-
getRetrievalImportance
public PropertyDefinition.RetrievalImportance getRetrievalImportance()
The retrieval importance of the property during search.
.google.cloud.contentwarehouse.v1.PropertyDefinition.RetrievalImportance retrieval_importance = 18;- Specified by:
getRetrievalImportancein interfacePropertyDefinitionOrBuilder- Returns:
- The retrievalImportance.
-
hasIntegerTypeOptions
public boolean hasIntegerTypeOptions()
Integer property.
.google.cloud.contentwarehouse.v1.IntegerTypeOptions integer_type_options = 7;- Specified by:
hasIntegerTypeOptionsin 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:
getIntegerTypeOptionsin interfacePropertyDefinitionOrBuilder- Returns:
- The integerTypeOptions.
-
getIntegerTypeOptionsOrBuilder
public IntegerTypeOptionsOrBuilder getIntegerTypeOptionsOrBuilder()
Integer property.
.google.cloud.contentwarehouse.v1.IntegerTypeOptions integer_type_options = 7;- Specified by:
getIntegerTypeOptionsOrBuilderin interfacePropertyDefinitionOrBuilder
-
hasFloatTypeOptions
public boolean hasFloatTypeOptions()
Float property.
.google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;- Specified by:
hasFloatTypeOptionsin 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:
getFloatTypeOptionsin interfacePropertyDefinitionOrBuilder- Returns:
- The floatTypeOptions.
-
getFloatTypeOptionsOrBuilder
public FloatTypeOptionsOrBuilder getFloatTypeOptionsOrBuilder()
Float property.
.google.cloud.contentwarehouse.v1.FloatTypeOptions float_type_options = 8;- Specified by:
getFloatTypeOptionsOrBuilderin interfacePropertyDefinitionOrBuilder
-
hasTextTypeOptions
public boolean hasTextTypeOptions()
Text/string property.
.google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;- Specified by:
hasTextTypeOptionsin 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:
getTextTypeOptionsin interfacePropertyDefinitionOrBuilder- Returns:
- The textTypeOptions.
-
getTextTypeOptionsOrBuilder
public TextTypeOptionsOrBuilder getTextTypeOptionsOrBuilder()
Text/string property.
.google.cloud.contentwarehouse.v1.TextTypeOptions text_type_options = 9;- Specified by:
getTextTypeOptionsOrBuilderin interfacePropertyDefinitionOrBuilder
-
hasPropertyTypeOptions
public boolean hasPropertyTypeOptions()
Nested structured data property.
.google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;- Specified by:
hasPropertyTypeOptionsin 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:
getPropertyTypeOptionsin interfacePropertyDefinitionOrBuilder- Returns:
- The propertyTypeOptions.
-
getPropertyTypeOptionsOrBuilder
public PropertyTypeOptionsOrBuilder getPropertyTypeOptionsOrBuilder()
Nested structured data property.
.google.cloud.contentwarehouse.v1.PropertyTypeOptions property_type_options = 10;- Specified by:
getPropertyTypeOptionsOrBuilderin interfacePropertyDefinitionOrBuilder
-
hasEnumTypeOptions
public boolean hasEnumTypeOptions()
Enum/categorical property.
.google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;- Specified by:
hasEnumTypeOptionsin 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:
getEnumTypeOptionsin interfacePropertyDefinitionOrBuilder- Returns:
- The enumTypeOptions.
-
getEnumTypeOptionsOrBuilder
public EnumTypeOptionsOrBuilder getEnumTypeOptionsOrBuilder()
Enum/categorical property.
.google.cloud.contentwarehouse.v1.EnumTypeOptions enum_type_options = 11;- Specified by:
getEnumTypeOptionsOrBuilderin 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:
hasDateTimeTypeOptionsin 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:
getDateTimeTypeOptionsin interfacePropertyDefinitionOrBuilder- Returns:
- The dateTimeTypeOptions.
-
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:
getDateTimeTypeOptionsOrBuilderin interfacePropertyDefinitionOrBuilder
-
hasMapTypeOptions
public boolean hasMapTypeOptions()
Map property.
.google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;- Specified by:
hasMapTypeOptionsin 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:
getMapTypeOptionsin interfacePropertyDefinitionOrBuilder- Returns:
- The mapTypeOptions.
-
getMapTypeOptionsOrBuilder
public MapTypeOptionsOrBuilder getMapTypeOptionsOrBuilder()
Map property.
.google.cloud.contentwarehouse.v1.MapTypeOptions map_type_options = 15;- Specified by:
getMapTypeOptionsOrBuilderin 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:
hasTimestampTypeOptionsin 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:
getTimestampTypeOptionsin interfacePropertyDefinitionOrBuilder- Returns:
- The timestampTypeOptions.
-
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:
getTimestampTypeOptionsOrBuilderin 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:
getSchemaSourcesListin 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:
getSchemaSourcesOrBuilderListin 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:
getSchemaSourcesCountin 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:
getSchemaSourcesin interfacePropertyDefinitionOrBuilder
-
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:
getSchemaSourcesOrBuilderin interfacePropertyDefinitionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PropertyDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PropertyDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PropertyDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PropertyDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PropertyDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PropertyDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PropertyDefinition parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PropertyDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PropertyDefinition parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PropertyDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PropertyDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PropertyDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PropertyDefinition.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PropertyDefinition.Builder newBuilder()
-
newBuilder
public static PropertyDefinition.Builder newBuilder(PropertyDefinition prototype)
-
toBuilder
public PropertyDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PropertyDefinition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PropertyDefinition getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PropertyDefinition> parser()
-
getParserForType
public com.google.protobuf.Parser<PropertyDefinition> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PropertyDefinition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-