Package com.google.cloud.automl.v1beta1
Class DataStats
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.automl.v1beta1.DataStats
-
- All Implemented Interfaces:
DataStatsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DataStats extends com.google.protobuf.GeneratedMessageV3 implements DataStatsOrBuilder
The data statistics of a series of values that share the same DataType.
Protobuf typegoogle.cloud.automl.v1beta1.DataStats- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataStats.BuilderThe data statistics of a series of values that share the same DataType.static classDataStats.StatsCase-
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 intARRAY_STATS_FIELD_NUMBERstatic intCATEGORY_STATS_FIELD_NUMBERstatic intDISTINCT_VALUE_COUNT_FIELD_NUMBERstatic intFLOAT64_STATS_FIELD_NUMBERstatic intNULL_VALUE_COUNT_FIELD_NUMBERstatic intSTRING_STATS_FIELD_NUMBERstatic intSTRUCT_STATS_FIELD_NUMBERstatic intTIMESTAMP_STATS_FIELD_NUMBERstatic intVALID_VALUE_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ArrayStatsgetArrayStats()The statistics for ARRAY DataType.ArrayStatsOrBuildergetArrayStatsOrBuilder()The statistics for ARRAY DataType.CategoryStatsgetCategoryStats()The statistics for CATEGORY DataType.CategoryStatsOrBuildergetCategoryStatsOrBuilder()The statistics for CATEGORY DataType.static DataStatsgetDefaultInstance()DataStatsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetDistinctValueCount()The number of distinct values.Float64StatsgetFloat64Stats()The statistics for FLOAT64 DataType.Float64StatsOrBuildergetFloat64StatsOrBuilder()The statistics for FLOAT64 DataType.longgetNullValueCount()The number of values that are null.com.google.protobuf.Parser<DataStats>getParserForType()intgetSerializedSize()DataStats.StatsCasegetStatsCase()StringStatsgetStringStats()The statistics for STRING DataType.StringStatsOrBuildergetStringStatsOrBuilder()The statistics for STRING DataType.StructStatsgetStructStats()The statistics for STRUCT DataType.StructStatsOrBuildergetStructStatsOrBuilder()The statistics for STRUCT DataType.TimestampStatsgetTimestampStats()The statistics for TIMESTAMP DataType.TimestampStatsOrBuildergetTimestampStatsOrBuilder()The statistics for TIMESTAMP DataType.longgetValidValueCount()The number of values that are valid.booleanhasArrayStats()The statistics for ARRAY DataType.booleanhasCategoryStats()The statistics for CATEGORY DataType.booleanhasFloat64Stats()The statistics for FLOAT64 DataType.inthashCode()booleanhasStringStats()The statistics for STRING DataType.booleanhasStructStats()The statistics for STRUCT DataType.booleanhasTimestampStats()The statistics for TIMESTAMP DataType.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DataStats.BuildernewBuilder()static DataStats.BuildernewBuilder(DataStats prototype)DataStats.BuildernewBuilderForType()protected DataStats.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DataStatsparseDelimitedFrom(InputStream input)static DataStatsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataStatsparseFrom(byte[] data)static DataStatsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataStatsparseFrom(com.google.protobuf.ByteString data)static DataStatsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataStatsparseFrom(com.google.protobuf.CodedInputStream input)static DataStatsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataStatsparseFrom(InputStream input)static DataStatsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataStatsparseFrom(ByteBuffer data)static DataStatsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DataStats>parser()DataStats.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
-
FLOAT64_STATS_FIELD_NUMBER
public static final int FLOAT64_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRING_STATS_FIELD_NUMBER
public static final int STRING_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_STATS_FIELD_NUMBER
public static final int TIMESTAMP_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARRAY_STATS_FIELD_NUMBER
public static final int ARRAY_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRUCT_STATS_FIELD_NUMBER
public static final int STRUCT_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CATEGORY_STATS_FIELD_NUMBER
public static final int CATEGORY_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISTINCT_VALUE_COUNT_FIELD_NUMBER
public static final int DISTINCT_VALUE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NULL_VALUE_COUNT_FIELD_NUMBER
public static final int NULL_VALUE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALID_VALUE_COUNT_FIELD_NUMBER
public static final int VALID_VALUE_COUNT_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
-
getStatsCase
public DataStats.StatsCase getStatsCase()
- Specified by:
getStatsCasein interfaceDataStatsOrBuilder
-
hasFloat64Stats
public boolean hasFloat64Stats()
The statistics for FLOAT64 DataType.
.google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;- Specified by:
hasFloat64Statsin interfaceDataStatsOrBuilder- Returns:
- Whether the float64Stats field is set.
-
getFloat64Stats
public Float64Stats getFloat64Stats()
The statistics for FLOAT64 DataType.
.google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;- Specified by:
getFloat64Statsin interfaceDataStatsOrBuilder- Returns:
- The float64Stats.
-
getFloat64StatsOrBuilder
public Float64StatsOrBuilder getFloat64StatsOrBuilder()
The statistics for FLOAT64 DataType.
.google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;- Specified by:
getFloat64StatsOrBuilderin interfaceDataStatsOrBuilder
-
hasStringStats
public boolean hasStringStats()
The statistics for STRING DataType.
.google.cloud.automl.v1beta1.StringStats string_stats = 4;- Specified by:
hasStringStatsin interfaceDataStatsOrBuilder- Returns:
- Whether the stringStats field is set.
-
getStringStats
public StringStats getStringStats()
The statistics for STRING DataType.
.google.cloud.automl.v1beta1.StringStats string_stats = 4;- Specified by:
getStringStatsin interfaceDataStatsOrBuilder- Returns:
- The stringStats.
-
getStringStatsOrBuilder
public StringStatsOrBuilder getStringStatsOrBuilder()
The statistics for STRING DataType.
.google.cloud.automl.v1beta1.StringStats string_stats = 4;- Specified by:
getStringStatsOrBuilderin interfaceDataStatsOrBuilder
-
hasTimestampStats
public boolean hasTimestampStats()
The statistics for TIMESTAMP DataType.
.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;- Specified by:
hasTimestampStatsin interfaceDataStatsOrBuilder- Returns:
- Whether the timestampStats field is set.
-
getTimestampStats
public TimestampStats getTimestampStats()
The statistics for TIMESTAMP DataType.
.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;- Specified by:
getTimestampStatsin interfaceDataStatsOrBuilder- Returns:
- The timestampStats.
-
getTimestampStatsOrBuilder
public TimestampStatsOrBuilder getTimestampStatsOrBuilder()
The statistics for TIMESTAMP DataType.
.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;- Specified by:
getTimestampStatsOrBuilderin interfaceDataStatsOrBuilder
-
hasArrayStats
public boolean hasArrayStats()
The statistics for ARRAY DataType.
.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;- Specified by:
hasArrayStatsin interfaceDataStatsOrBuilder- Returns:
- Whether the arrayStats field is set.
-
getArrayStats
public ArrayStats getArrayStats()
The statistics for ARRAY DataType.
.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;- Specified by:
getArrayStatsin interfaceDataStatsOrBuilder- Returns:
- The arrayStats.
-
getArrayStatsOrBuilder
public ArrayStatsOrBuilder getArrayStatsOrBuilder()
The statistics for ARRAY DataType.
.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;- Specified by:
getArrayStatsOrBuilderin interfaceDataStatsOrBuilder
-
hasStructStats
public boolean hasStructStats()
The statistics for STRUCT DataType.
.google.cloud.automl.v1beta1.StructStats struct_stats = 7;- Specified by:
hasStructStatsin interfaceDataStatsOrBuilder- Returns:
- Whether the structStats field is set.
-
getStructStats
public StructStats getStructStats()
The statistics for STRUCT DataType.
.google.cloud.automl.v1beta1.StructStats struct_stats = 7;- Specified by:
getStructStatsin interfaceDataStatsOrBuilder- Returns:
- The structStats.
-
getStructStatsOrBuilder
public StructStatsOrBuilder getStructStatsOrBuilder()
The statistics for STRUCT DataType.
.google.cloud.automl.v1beta1.StructStats struct_stats = 7;- Specified by:
getStructStatsOrBuilderin interfaceDataStatsOrBuilder
-
hasCategoryStats
public boolean hasCategoryStats()
The statistics for CATEGORY DataType.
.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;- Specified by:
hasCategoryStatsin interfaceDataStatsOrBuilder- Returns:
- Whether the categoryStats field is set.
-
getCategoryStats
public CategoryStats getCategoryStats()
The statistics for CATEGORY DataType.
.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;- Specified by:
getCategoryStatsin interfaceDataStatsOrBuilder- Returns:
- The categoryStats.
-
getCategoryStatsOrBuilder
public CategoryStatsOrBuilder getCategoryStatsOrBuilder()
The statistics for CATEGORY DataType.
.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;- Specified by:
getCategoryStatsOrBuilderin interfaceDataStatsOrBuilder
-
getDistinctValueCount
public long getDistinctValueCount()
The number of distinct values.
int64 distinct_value_count = 1;- Specified by:
getDistinctValueCountin interfaceDataStatsOrBuilder- Returns:
- The distinctValueCount.
-
getNullValueCount
public long getNullValueCount()
The number of values that are null.
int64 null_value_count = 2;- Specified by:
getNullValueCountin interfaceDataStatsOrBuilder- Returns:
- The nullValueCount.
-
getValidValueCount
public long getValidValueCount()
The number of values that are valid.
int64 valid_value_count = 9;- Specified by:
getValidValueCountin interfaceDataStatsOrBuilder- Returns:
- The validValueCount.
-
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 DataStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataStats parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataStats parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DataStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DataStats.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DataStats.Builder newBuilder()
-
newBuilder
public static DataStats.Builder newBuilder(DataStats prototype)
-
toBuilder
public DataStats.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DataStats getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DataStats> parser()
-
getParserForType
public com.google.protobuf.Parser<DataStats> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-