Class DataStats

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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

@Generated public final class DataStats extends com.google.protobuf.GeneratedMessage implements DataStatsOrBuilder
 The data statistics of a series of values that share the same DataType.
 
Protobuf type google.cloud.automl.v1beta1.DataStats
See Also:
  • Field Details

    • FLOAT64_STATS_FIELD_NUMBER

      public static final int FLOAT64_STATS_FIELD_NUMBER
      See Also:
    • STRING_STATS_FIELD_NUMBER

      public static final int STRING_STATS_FIELD_NUMBER
      See Also:
    • TIMESTAMP_STATS_FIELD_NUMBER

      public static final int TIMESTAMP_STATS_FIELD_NUMBER
      See Also:
    • ARRAY_STATS_FIELD_NUMBER

      public static final int ARRAY_STATS_FIELD_NUMBER
      See Also:
    • STRUCT_STATS_FIELD_NUMBER

      public static final int STRUCT_STATS_FIELD_NUMBER
      See Also:
    • CATEGORY_STATS_FIELD_NUMBER

      public static final int CATEGORY_STATS_FIELD_NUMBER
      See Also:
    • DISTINCT_VALUE_COUNT_FIELD_NUMBER

      public static final int DISTINCT_VALUE_COUNT_FIELD_NUMBER
      See Also:
    • NULL_VALUE_COUNT_FIELD_NUMBER

      public static final int NULL_VALUE_COUNT_FIELD_NUMBER
      See Also:
    • VALID_VALUE_COUNT_FIELD_NUMBER

      public static final int VALID_VALUE_COUNT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getStatsCase

      public DataStats.StatsCase getStatsCase()
      Specified by:
      getStatsCase in interface DataStatsOrBuilder
    • hasFloat64Stats

      public boolean hasFloat64Stats()
       The statistics for FLOAT64 DataType.
       
      .google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;
      Specified by:
      hasFloat64Stats in interface DataStatsOrBuilder
      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 interface DataStatsOrBuilder
      Returns:
      The float64Stats.
    • getFloat64StatsOrBuilder

      public Float64StatsOrBuilder getFloat64StatsOrBuilder()
       The statistics for FLOAT64 DataType.
       
      .google.cloud.automl.v1beta1.Float64Stats float64_stats = 3;
      Specified by:
      getFloat64StatsOrBuilder in interface DataStatsOrBuilder
    • hasStringStats

      public boolean hasStringStats()
       The statistics for STRING DataType.
       
      .google.cloud.automl.v1beta1.StringStats string_stats = 4;
      Specified by:
      hasStringStats in interface DataStatsOrBuilder
      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 interface DataStatsOrBuilder
      Returns:
      The stringStats.
    • getStringStatsOrBuilder

      public StringStatsOrBuilder getStringStatsOrBuilder()
       The statistics for STRING DataType.
       
      .google.cloud.automl.v1beta1.StringStats string_stats = 4;
      Specified by:
      getStringStatsOrBuilder in interface DataStatsOrBuilder
    • hasTimestampStats

      public boolean hasTimestampStats()
       The statistics for TIMESTAMP DataType.
       
      .google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;
      Specified by:
      hasTimestampStats in interface DataStatsOrBuilder
      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 interface DataStatsOrBuilder
      Returns:
      The timestampStats.
    • getTimestampStatsOrBuilder

      public TimestampStatsOrBuilder getTimestampStatsOrBuilder()
       The statistics for TIMESTAMP DataType.
       
      .google.cloud.automl.v1beta1.TimestampStats timestamp_stats = 5;
      Specified by:
      getTimestampStatsOrBuilder in interface DataStatsOrBuilder
    • hasArrayStats

      public boolean hasArrayStats()
       The statistics for ARRAY DataType.
       
      .google.cloud.automl.v1beta1.ArrayStats array_stats = 6;
      Specified by:
      hasArrayStats in interface DataStatsOrBuilder
      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 interface DataStatsOrBuilder
      Returns:
      The arrayStats.
    • getArrayStatsOrBuilder

      public ArrayStatsOrBuilder getArrayStatsOrBuilder()
       The statistics for ARRAY DataType.
       
      .google.cloud.automl.v1beta1.ArrayStats array_stats = 6;
      Specified by:
      getArrayStatsOrBuilder in interface DataStatsOrBuilder
    • hasStructStats

      public boolean hasStructStats()
       The statistics for STRUCT DataType.
       
      .google.cloud.automl.v1beta1.StructStats struct_stats = 7;
      Specified by:
      hasStructStats in interface DataStatsOrBuilder
      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 interface DataStatsOrBuilder
      Returns:
      The structStats.
    • getStructStatsOrBuilder

      public StructStatsOrBuilder getStructStatsOrBuilder()
       The statistics for STRUCT DataType.
       
      .google.cloud.automl.v1beta1.StructStats struct_stats = 7;
      Specified by:
      getStructStatsOrBuilder in interface DataStatsOrBuilder
    • hasCategoryStats

      public boolean hasCategoryStats()
       The statistics for CATEGORY DataType.
       
      .google.cloud.automl.v1beta1.CategoryStats category_stats = 8;
      Specified by:
      hasCategoryStats in interface DataStatsOrBuilder
      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 interface DataStatsOrBuilder
      Returns:
      The categoryStats.
    • getCategoryStatsOrBuilder

      public CategoryStatsOrBuilder getCategoryStatsOrBuilder()
       The statistics for CATEGORY DataType.
       
      .google.cloud.automl.v1beta1.CategoryStats category_stats = 8;
      Specified by:
      getCategoryStatsOrBuilder in interface DataStatsOrBuilder
    • getDistinctValueCount

      public long getDistinctValueCount()
       The number of distinct values.
       
      int64 distinct_value_count = 1;
      Specified by:
      getDistinctValueCount in interface DataStatsOrBuilder
      Returns:
      The distinctValueCount.
    • getNullValueCount

      public long getNullValueCount()
       The number of values that are null.
       
      int64 null_value_count = 2;
      Specified by:
      getNullValueCount in interface DataStatsOrBuilder
      Returns:
      The nullValueCount.
    • getValidValueCount

      public long getValidValueCount()
       The number of values that are valid.
       
      int64 valid_value_count = 9;
      Specified by:
      getValidValueCount in interface DataStatsOrBuilder
      Returns:
      The validValueCount.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DataStats.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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 interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public DataStats getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder