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 class
PropertyDefinition.Builder
Defines the metadata for a schema property.static class
PropertyDefinition.RetrievalImportance
Stores the retrieval importance.static class
PropertyDefinition.SchemaSource
The schema source information.static interface
PropertyDefinition.SchemaSourceOrBuilder
static class
PropertyDefinition.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 int
DATE_TIME_TYPE_OPTIONS_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ENUM_TYPE_OPTIONS_FIELD_NUMBER
static int
FLOAT_TYPE_OPTIONS_FIELD_NUMBER
static int
INTEGER_TYPE_OPTIONS_FIELD_NUMBER
static int
IS_FILTERABLE_FIELD_NUMBER
static int
IS_METADATA_FIELD_NUMBER
static int
IS_REPEATABLE_FIELD_NUMBER
static int
IS_REQUIRED_FIELD_NUMBER
static int
IS_SEARCHABLE_FIELD_NUMBER
static int
MAP_TYPE_OPTIONS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PROPERTY_TYPE_OPTIONS_FIELD_NUMBER
static int
RETRIEVAL_IMPORTANCE_FIELD_NUMBER
static int
SCHEMA_SOURCES_FIELD_NUMBER
static int
TEXT_TYPE_OPTIONS_FIELD_NUMBER
static int
TIMESTAMP_TYPE_OPTIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
DateTimeTypeOptions
getDateTimeTypeOptions()
Date time property.DateTimeTypeOptionsOrBuilder
getDateTimeTypeOptionsOrBuilder()
Date time property.static PropertyDefinition
getDefaultInstance()
PropertyDefinition
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
The display-name for the property, used for front-end.com.google.protobuf.ByteString
getDisplayNameBytes()
The display-name for the property, used for front-end.EnumTypeOptions
getEnumTypeOptions()
Enum/categorical property.EnumTypeOptionsOrBuilder
getEnumTypeOptionsOrBuilder()
Enum/categorical property.FloatTypeOptions
getFloatTypeOptions()
Float property.FloatTypeOptionsOrBuilder
getFloatTypeOptionsOrBuilder()
Float property.IntegerTypeOptions
getIntegerTypeOptions()
Integer property.IntegerTypeOptionsOrBuilder
getIntegerTypeOptionsOrBuilder()
Integer property.boolean
getIsFilterable()
Whether the property can be filtered.boolean
getIsMetadata()
Whether the property is user supplied metadata.boolean
getIsRepeatable()
Whether the property can have multiple values.boolean
getIsRequired()
Whether the property is mandatory.boolean
getIsSearchable()
Indicates that the property should be included in a global search.MapTypeOptions
getMapTypeOptions()
Map property.MapTypeOptionsOrBuilder
getMapTypeOptionsOrBuilder()
Map property.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.com.google.protobuf.Parser<PropertyDefinition>
getParserForType()
PropertyTypeOptions
getPropertyTypeOptions()
Nested structured data property.PropertyTypeOptionsOrBuilder
getPropertyTypeOptionsOrBuilder()
Nested structured data property.PropertyDefinition.RetrievalImportance
getRetrievalImportance()
The retrieval importance of the property during search.int
getRetrievalImportanceValue()
The retrieval importance of the property during search.PropertyDefinition.SchemaSource
getSchemaSources(int index)
The mapping information between this property to another schema source.int
getSchemaSourcesCount()
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.SchemaSourceOrBuilder
getSchemaSourcesOrBuilder(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.int
getSerializedSize()
TextTypeOptions
getTextTypeOptions()
Text/string property.TextTypeOptionsOrBuilder
getTextTypeOptionsOrBuilder()
Text/string property.TimestampTypeOptions
getTimestampTypeOptions()
Timestamp property.TimestampTypeOptionsOrBuilder
getTimestampTypeOptionsOrBuilder()
Timestamp property.PropertyDefinition.ValueTypeOptionsCase
getValueTypeOptionsCase()
boolean
hasDateTimeTypeOptions()
Date time property.boolean
hasEnumTypeOptions()
Enum/categorical property.boolean
hasFloatTypeOptions()
Float property.int
hashCode()
boolean
hasIntegerTypeOptions()
Integer property.boolean
hasMapTypeOptions()
Map property.boolean
hasPropertyTypeOptions()
Nested structured data property.boolean
hasTextTypeOptions()
Text/string property.boolean
hasTimestampTypeOptions()
Timestamp property.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static PropertyDefinition.Builder
newBuilder()
static PropertyDefinition.Builder
newBuilder(PropertyDefinition prototype)
PropertyDefinition.Builder
newBuilderForType()
protected PropertyDefinition.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PropertyDefinition
parseDelimitedFrom(InputStream input)
static PropertyDefinition
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PropertyDefinition
parseFrom(byte[] data)
static PropertyDefinition
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PropertyDefinition
parseFrom(com.google.protobuf.ByteString data)
static PropertyDefinition
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PropertyDefinition
parseFrom(com.google.protobuf.CodedInputStream input)
static PropertyDefinition
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PropertyDefinition
parseFrom(InputStream input)
static PropertyDefinition
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PropertyDefinition
parseFrom(ByteBuffer data)
static PropertyDefinition
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PropertyDefinition>
parser()
PropertyDefinition.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getValueTypeOptionsCase
public PropertyDefinition.ValueTypeOptionsCase getValueTypeOptionsCase()
- Specified by:
getValueTypeOptionsCase
in 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:
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.
-
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.
-
getIsRepeatable
public boolean getIsRepeatable()
Whether the property can have multiple values.
bool is_repeatable = 2;
- Specified by:
getIsRepeatable
in 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:
getIsFilterable
in 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:
getIsSearchable
in 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:
getIsMetadata
in 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:
getIsRequired
in 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:
getRetrievalImportanceValue
in 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:
getRetrievalImportance
in interfacePropertyDefinitionOrBuilder
- Returns:
- The retrievalImportance.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PropertyDefinition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PropertyDefinition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-