Class HistogramQueryPropertyNameFilter
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter
-
- All Implemented Interfaces:
HistogramQueryPropertyNameFilterOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class HistogramQueryPropertyNameFilter extends com.google.protobuf.GeneratedMessageV3 implements HistogramQueryPropertyNameFilterOrBuilder
Protobuf typegoogle.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHistogramQueryPropertyNameFilter.BuilderProtobuf typegoogle.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilterstatic classHistogramQueryPropertyNameFilter.HistogramYAxisThe result of the histogram query count('FilterableProperties') using HISTOGRAM_YAXIS_DOCUMENT will be: invoice_id: 2 address: 1 payment_method: 2 line_item_description: 1-
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 intDOCUMENT_SCHEMAS_FIELD_NUMBERstatic intPROPERTY_NAMES_FIELD_NUMBERstatic intY_AXIS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static HistogramQueryPropertyNameFiltergetDefaultInstance()HistogramQueryPropertyNameFiltergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDocumentSchemas(int index)This filter specifies the exact document schema(s) [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] to run histogram query against.com.google.protobuf.ByteStringgetDocumentSchemasBytes(int index)This filter specifies the exact document schema(s) [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] to run histogram query against.intgetDocumentSchemasCount()This filter specifies the exact document schema(s) [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] to run histogram query against.com.google.protobuf.ProtocolStringListgetDocumentSchemasList()This filter specifies the exact document schema(s) [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] to run histogram query against.com.google.protobuf.Parser<HistogramQueryPropertyNameFilter>getParserForType()StringgetPropertyNames(int index)It is optional.com.google.protobuf.ByteStringgetPropertyNamesBytes(int index)It is optional.intgetPropertyNamesCount()It is optional.com.google.protobuf.ProtocolStringListgetPropertyNamesList()It is optional.intgetSerializedSize()HistogramQueryPropertyNameFilter.HistogramYAxisgetYAxis()By default, the y_axis is HISTOGRAM_YAXIS_DOCUMENT if this field is not set.intgetYAxisValue()By default, the y_axis is HISTOGRAM_YAXIS_DOCUMENT if this field is not set.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static HistogramQueryPropertyNameFilter.BuildernewBuilder()static HistogramQueryPropertyNameFilter.BuildernewBuilder(HistogramQueryPropertyNameFilter prototype)HistogramQueryPropertyNameFilter.BuildernewBuilderForType()protected HistogramQueryPropertyNameFilter.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HistogramQueryPropertyNameFilterparseDelimitedFrom(InputStream input)static HistogramQueryPropertyNameFilterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HistogramQueryPropertyNameFilterparseFrom(byte[] data)static HistogramQueryPropertyNameFilterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HistogramQueryPropertyNameFilterparseFrom(com.google.protobuf.ByteString data)static HistogramQueryPropertyNameFilterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HistogramQueryPropertyNameFilterparseFrom(com.google.protobuf.CodedInputStream input)static HistogramQueryPropertyNameFilterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HistogramQueryPropertyNameFilterparseFrom(InputStream input)static HistogramQueryPropertyNameFilterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HistogramQueryPropertyNameFilterparseFrom(ByteBuffer data)static HistogramQueryPropertyNameFilterparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HistogramQueryPropertyNameFilter>parser()HistogramQueryPropertyNameFilter.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
-
DOCUMENT_SCHEMAS_FIELD_NUMBER
public static final int DOCUMENT_SCHEMAS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPERTY_NAMES_FIELD_NUMBER
public static final int PROPERTY_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
Y_AXIS_FIELD_NUMBER
public static final int Y_AXIS_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
-
getDocumentSchemasList
public com.google.protobuf.ProtocolStringList getDocumentSchemasList()
This filter specifies the exact document schema(s) [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] to run histogram query against. It is optional. It will perform histogram for property names for all the document schemas if it is not set. At most 10 document schema names are allowed. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.repeated string document_schemas = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getDocumentSchemasListin interfaceHistogramQueryPropertyNameFilterOrBuilder- Returns:
- A list containing the documentSchemas.
-
getDocumentSchemasCount
public int getDocumentSchemasCount()
This filter specifies the exact document schema(s) [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] to run histogram query against. It is optional. It will perform histogram for property names for all the document schemas if it is not set. At most 10 document schema names are allowed. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.repeated string document_schemas = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getDocumentSchemasCountin interfaceHistogramQueryPropertyNameFilterOrBuilder- Returns:
- The count of documentSchemas.
-
getDocumentSchemas
public String getDocumentSchemas(int index)
This filter specifies the exact document schema(s) [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] to run histogram query against. It is optional. It will perform histogram for property names for all the document schemas if it is not set. At most 10 document schema names are allowed. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.repeated string document_schemas = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getDocumentSchemasin interfaceHistogramQueryPropertyNameFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The documentSchemas at the given index.
-
getDocumentSchemasBytes
public com.google.protobuf.ByteString getDocumentSchemasBytes(int index)
This filter specifies the exact document schema(s) [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] to run histogram query against. It is optional. It will perform histogram for property names for all the document schemas if it is not set. At most 10 document schema names are allowed. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}.repeated string document_schemas = 1 [(.google.api.resource_reference) = { ... }- Specified by:
getDocumentSchemasBytesin interfaceHistogramQueryPropertyNameFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the documentSchemas at the given index.
-
getPropertyNamesList
public com.google.protobuf.ProtocolStringList getPropertyNamesList()
It is optional. It will perform histogram for all the property names if it is not set. The properties need to be defined with the is_filterable flag set to true and the name of the property should be in the format: "schemaId.propertyName". The property needs to be defined in the schema. Example: the schema id is abc. Then the name of property for property MORTGAGE_TYPE will be "abc.MORTGAGE_TYPE".
repeated string property_names = 2;- Specified by:
getPropertyNamesListin interfaceHistogramQueryPropertyNameFilterOrBuilder- Returns:
- A list containing the propertyNames.
-
getPropertyNamesCount
public int getPropertyNamesCount()
It is optional. It will perform histogram for all the property names if it is not set. The properties need to be defined with the is_filterable flag set to true and the name of the property should be in the format: "schemaId.propertyName". The property needs to be defined in the schema. Example: the schema id is abc. Then the name of property for property MORTGAGE_TYPE will be "abc.MORTGAGE_TYPE".
repeated string property_names = 2;- Specified by:
getPropertyNamesCountin interfaceHistogramQueryPropertyNameFilterOrBuilder- Returns:
- The count of propertyNames.
-
getPropertyNames
public String getPropertyNames(int index)
It is optional. It will perform histogram for all the property names if it is not set. The properties need to be defined with the is_filterable flag set to true and the name of the property should be in the format: "schemaId.propertyName". The property needs to be defined in the schema. Example: the schema id is abc. Then the name of property for property MORTGAGE_TYPE will be "abc.MORTGAGE_TYPE".
repeated string property_names = 2;- Specified by:
getPropertyNamesin interfaceHistogramQueryPropertyNameFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The propertyNames at the given index.
-
getPropertyNamesBytes
public com.google.protobuf.ByteString getPropertyNamesBytes(int index)
It is optional. It will perform histogram for all the property names if it is not set. The properties need to be defined with the is_filterable flag set to true and the name of the property should be in the format: "schemaId.propertyName". The property needs to be defined in the schema. Example: the schema id is abc. Then the name of property for property MORTGAGE_TYPE will be "abc.MORTGAGE_TYPE".
repeated string property_names = 2;- Specified by:
getPropertyNamesBytesin interfaceHistogramQueryPropertyNameFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the propertyNames at the given index.
-
getYAxisValue
public int getYAxisValue()
By default, the y_axis is HISTOGRAM_YAXIS_DOCUMENT if this field is not set.
.google.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter.HistogramYAxis y_axis = 3;- Specified by:
getYAxisValuein interfaceHistogramQueryPropertyNameFilterOrBuilder- Returns:
- The enum numeric value on the wire for yAxis.
-
getYAxis
public HistogramQueryPropertyNameFilter.HistogramYAxis getYAxis()
By default, the y_axis is HISTOGRAM_YAXIS_DOCUMENT if this field is not set.
.google.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter.HistogramYAxis y_axis = 3;- Specified by:
getYAxisin interfaceHistogramQueryPropertyNameFilterOrBuilder- Returns:
- The yAxis.
-
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 HistogramQueryPropertyNameFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistogramQueryPropertyNameFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistogramQueryPropertyNameFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistogramQueryPropertyNameFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistogramQueryPropertyNameFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistogramQueryPropertyNameFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HistogramQueryPropertyNameFilter parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HistogramQueryPropertyNameFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HistogramQueryPropertyNameFilter parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HistogramQueryPropertyNameFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static HistogramQueryPropertyNameFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HistogramQueryPropertyNameFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public HistogramQueryPropertyNameFilter.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HistogramQueryPropertyNameFilter.Builder newBuilder()
-
newBuilder
public static HistogramQueryPropertyNameFilter.Builder newBuilder(HistogramQueryPropertyNameFilter prototype)
-
toBuilder
public HistogramQueryPropertyNameFilter.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HistogramQueryPropertyNameFilter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static HistogramQueryPropertyNameFilter getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HistogramQueryPropertyNameFilter> parser()
-
getParserForType
public com.google.protobuf.Parser<HistogramQueryPropertyNameFilter> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HistogramQueryPropertyNameFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-