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 class
HistogramQueryPropertyNameFilter.Builder
Protobuf typegoogle.cloud.contentwarehouse.v1.HistogramQueryPropertyNameFilter
static class
HistogramQueryPropertyNameFilter.HistogramYAxis
The 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 int
DOCUMENT_SCHEMAS_FIELD_NUMBER
static int
PROPERTY_NAMES_FIELD_NUMBER
static int
Y_AXIS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static HistogramQueryPropertyNameFilter
getDefaultInstance()
HistogramQueryPropertyNameFilter
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.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.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.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.com.google.protobuf.Parser<HistogramQueryPropertyNameFilter>
getParserForType()
String
getPropertyNames(int index)
It is optional.com.google.protobuf.ByteString
getPropertyNamesBytes(int index)
It is optional.int
getPropertyNamesCount()
It is optional.com.google.protobuf.ProtocolStringList
getPropertyNamesList()
It is optional.int
getSerializedSize()
HistogramQueryPropertyNameFilter.HistogramYAxis
getYAxis()
By default, the y_axis is HISTOGRAM_YAXIS_DOCUMENT if this field is not set.int
getYAxisValue()
By default, the y_axis is HISTOGRAM_YAXIS_DOCUMENT if this field is not set.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static HistogramQueryPropertyNameFilter.Builder
newBuilder()
static HistogramQueryPropertyNameFilter.Builder
newBuilder(HistogramQueryPropertyNameFilter prototype)
HistogramQueryPropertyNameFilter.Builder
newBuilderForType()
protected HistogramQueryPropertyNameFilter.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static HistogramQueryPropertyNameFilter
parseDelimitedFrom(InputStream input)
static HistogramQueryPropertyNameFilter
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static HistogramQueryPropertyNameFilter
parseFrom(byte[] data)
static HistogramQueryPropertyNameFilter
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static HistogramQueryPropertyNameFilter
parseFrom(com.google.protobuf.ByteString data)
static HistogramQueryPropertyNameFilter
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static HistogramQueryPropertyNameFilter
parseFrom(com.google.protobuf.CodedInputStream input)
static HistogramQueryPropertyNameFilter
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static HistogramQueryPropertyNameFilter
parseFrom(InputStream input)
static HistogramQueryPropertyNameFilter
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static HistogramQueryPropertyNameFilter
parseFrom(ByteBuffer data)
static HistogramQueryPropertyNameFilter
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<HistogramQueryPropertyNameFilter>
parser()
HistogramQueryPropertyNameFilter.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
-
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:
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
-
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:
getDocumentSchemasList
in 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:
getDocumentSchemasCount
in 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:
getDocumentSchemas
in 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:
getDocumentSchemasBytes
in 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:
getPropertyNamesList
in 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:
getPropertyNamesCount
in 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:
getPropertyNames
in 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:
getPropertyNamesBytes
in 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:
getYAxisValue
in 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:
getYAxis
in interfaceHistogramQueryPropertyNameFilterOrBuilder
- Returns:
- The yAxis.
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HistogramQueryPropertyNameFilter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HistogramQueryPropertyNameFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-