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 class
DataStats.Builder
The data statistics of a series of values that share the same DataType.static class
DataStats.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 int
ARRAY_STATS_FIELD_NUMBER
static int
CATEGORY_STATS_FIELD_NUMBER
static int
DISTINCT_VALUE_COUNT_FIELD_NUMBER
static int
FLOAT64_STATS_FIELD_NUMBER
static int
NULL_VALUE_COUNT_FIELD_NUMBER
static int
STRING_STATS_FIELD_NUMBER
static int
STRUCT_STATS_FIELD_NUMBER
static int
TIMESTAMP_STATS_FIELD_NUMBER
static int
VALID_VALUE_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ArrayStats
getArrayStats()
The statistics for ARRAY DataType.ArrayStatsOrBuilder
getArrayStatsOrBuilder()
The statistics for ARRAY DataType.CategoryStats
getCategoryStats()
The statistics for CATEGORY DataType.CategoryStatsOrBuilder
getCategoryStatsOrBuilder()
The statistics for CATEGORY DataType.static DataStats
getDefaultInstance()
DataStats
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getDistinctValueCount()
The number of distinct values.Float64Stats
getFloat64Stats()
The statistics for FLOAT64 DataType.Float64StatsOrBuilder
getFloat64StatsOrBuilder()
The statistics for FLOAT64 DataType.long
getNullValueCount()
The number of values that are null.com.google.protobuf.Parser<DataStats>
getParserForType()
int
getSerializedSize()
DataStats.StatsCase
getStatsCase()
StringStats
getStringStats()
The statistics for STRING DataType.StringStatsOrBuilder
getStringStatsOrBuilder()
The statistics for STRING DataType.StructStats
getStructStats()
The statistics for STRUCT DataType.StructStatsOrBuilder
getStructStatsOrBuilder()
The statistics for STRUCT DataType.TimestampStats
getTimestampStats()
The statistics for TIMESTAMP DataType.TimestampStatsOrBuilder
getTimestampStatsOrBuilder()
The statistics for TIMESTAMP DataType.long
getValidValueCount()
The number of values that are valid.boolean
hasArrayStats()
The statistics for ARRAY DataType.boolean
hasCategoryStats()
The statistics for CATEGORY DataType.boolean
hasFloat64Stats()
The statistics for FLOAT64 DataType.int
hashCode()
boolean
hasStringStats()
The statistics for STRING DataType.boolean
hasStructStats()
The statistics for STRUCT DataType.boolean
hasTimestampStats()
The statistics for TIMESTAMP DataType.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DataStats.Builder
newBuilder()
static DataStats.Builder
newBuilder(DataStats prototype)
DataStats.Builder
newBuilderForType()
protected DataStats.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DataStats
parseDelimitedFrom(InputStream input)
static DataStats
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataStats
parseFrom(byte[] data)
static DataStats
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataStats
parseFrom(com.google.protobuf.ByteString data)
static DataStats
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataStats
parseFrom(com.google.protobuf.CodedInputStream input)
static DataStats
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataStats
parseFrom(InputStream input)
static DataStats
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataStats
parseFrom(ByteBuffer data)
static DataStats
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DataStats>
parser()
DataStats.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
-
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:
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
-
getStatsCase
public DataStats.StatsCase getStatsCase()
- Specified by:
getStatsCase
in interfaceDataStatsOrBuilder
-
hasFloat64Stats
public boolean hasFloat64Stats()
The statistics for FLOAT64 DataType.
.google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;
- Specified by:
hasFloat64Stats
in 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:
getFloat64Stats
in interfaceDataStatsOrBuilder
- Returns:
- The float64Stats.
-
getFloat64StatsOrBuilder
public Float64StatsOrBuilder getFloat64StatsOrBuilder()
The statistics for FLOAT64 DataType.
.google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;
- Specified by:
getFloat64StatsOrBuilder
in interfaceDataStatsOrBuilder
-
hasStringStats
public boolean hasStringStats()
The statistics for STRING DataType.
.google.cloud.automl.v1beta1.StringStats string_stats = 4;
- Specified by:
hasStringStats
in 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:
getStringStats
in interfaceDataStatsOrBuilder
- Returns:
- The stringStats.
-
getStringStatsOrBuilder
public StringStatsOrBuilder getStringStatsOrBuilder()
The statistics for STRING DataType.
.google.cloud.automl.v1beta1.StringStats string_stats = 4;
- Specified by:
getStringStatsOrBuilder
in interfaceDataStatsOrBuilder
-
hasTimestampStats
public boolean hasTimestampStats()
The statistics for TIMESTAMP DataType.
.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;
- Specified by:
hasTimestampStats
in 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:
getTimestampStats
in interfaceDataStatsOrBuilder
- Returns:
- The timestampStats.
-
getTimestampStatsOrBuilder
public TimestampStatsOrBuilder getTimestampStatsOrBuilder()
The statistics for TIMESTAMP DataType.
.google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;
- Specified by:
getTimestampStatsOrBuilder
in interfaceDataStatsOrBuilder
-
hasArrayStats
public boolean hasArrayStats()
The statistics for ARRAY DataType.
.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;
- Specified by:
hasArrayStats
in 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:
getArrayStats
in interfaceDataStatsOrBuilder
- Returns:
- The arrayStats.
-
getArrayStatsOrBuilder
public ArrayStatsOrBuilder getArrayStatsOrBuilder()
The statistics for ARRAY DataType.
.google.cloud.automl.v1beta1.ArrayStats array_stats = 6;
- Specified by:
getArrayStatsOrBuilder
in interfaceDataStatsOrBuilder
-
hasStructStats
public boolean hasStructStats()
The statistics for STRUCT DataType.
.google.cloud.automl.v1beta1.StructStats struct_stats = 7;
- Specified by:
hasStructStats
in 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:
getStructStats
in interfaceDataStatsOrBuilder
- Returns:
- The structStats.
-
getStructStatsOrBuilder
public StructStatsOrBuilder getStructStatsOrBuilder()
The statistics for STRUCT DataType.
.google.cloud.automl.v1beta1.StructStats struct_stats = 7;
- Specified by:
getStructStatsOrBuilder
in interfaceDataStatsOrBuilder
-
hasCategoryStats
public boolean hasCategoryStats()
The statistics for CATEGORY DataType.
.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;
- Specified by:
hasCategoryStats
in 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:
getCategoryStats
in interfaceDataStatsOrBuilder
- Returns:
- The categoryStats.
-
getCategoryStatsOrBuilder
public CategoryStatsOrBuilder getCategoryStatsOrBuilder()
The statistics for CATEGORY DataType.
.google.cloud.automl.v1beta1.CategoryStats category_stats = 8;
- Specified by:
getCategoryStatsOrBuilder
in interfaceDataStatsOrBuilder
-
getDistinctValueCount
public long getDistinctValueCount()
The number of distinct values.
int64 distinct_value_count = 1;
- Specified by:
getDistinctValueCount
in interfaceDataStatsOrBuilder
- Returns:
- The distinctValueCount.
-
getNullValueCount
public long getNullValueCount()
The number of values that are null.
int64 null_value_count = 2;
- Specified by:
getNullValueCount
in interfaceDataStatsOrBuilder
- Returns:
- The nullValueCount.
-
getValidValueCount
public long getValidValueCount()
The number of values that are valid.
int64 valid_value_count = 9;
- Specified by:
getValidValueCount
in interfaceDataStatsOrBuilder
- Returns:
- The validValueCount.
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-