public final class TimestampStats extends GeneratedMessageV3 implements TimestampStatsOrBuilder
The data statistics of a series of TIMESTAMP values.
Protobuf type google.cloud.automl.v1beta1.TimestampStats
Static Fields
GRANULAR_STATS_FIELD_NUMBER
public static final int GRANULAR_STATS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static TimestampStats getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TimestampStats.Builder newBuilder()
newBuilder(TimestampStats prototype)
public static TimestampStats.Builder newBuilder(TimestampStats prototype)
public static TimestampStats parseDelimitedFrom(InputStream input)
public static TimestampStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TimestampStats parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TimestampStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TimestampStats parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimestampStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TimestampStats parseFrom(CodedInputStream input)
public static TimestampStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TimestampStats parseFrom(InputStream input)
public static TimestampStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TimestampStats parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TimestampStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TimestampStats> parser()
Methods
containsGranularStats(String key)
public boolean containsGranularStats(String key)
The string key is the pre-defined granularity. Currently supported:
hour_of_day, day_of_week, month_of_year.
Granularities finer that the granularity of timestamp data are not
populated (e.g. if timestamps are at day granularity, then hour_of_day
is not populated).
map<string, .google.cloud.automl.v1beta1.TimestampStats.GranularStats> granular_stats = 1;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public TimestampStats getDefaultInstanceForType()
getGranularStats()
public Map<String,TimestampStats.GranularStats> getGranularStats()
getGranularStatsCount()
public int getGranularStatsCount()
The string key is the pre-defined granularity. Currently supported:
hour_of_day, day_of_week, month_of_year.
Granularities finer that the granularity of timestamp data are not
populated (e.g. if timestamps are at day granularity, then hour_of_day
is not populated).
map<string, .google.cloud.automl.v1beta1.TimestampStats.GranularStats> granular_stats = 1;
Returns |
---|
Type | Description |
int | |
getGranularStatsMap()
public Map<String,TimestampStats.GranularStats> getGranularStatsMap()
The string key is the pre-defined granularity. Currently supported:
hour_of_day, day_of_week, month_of_year.
Granularities finer that the granularity of timestamp data are not
populated (e.g. if timestamps are at day granularity, then hour_of_day
is not populated).
map<string, .google.cloud.automl.v1beta1.TimestampStats.GranularStats> granular_stats = 1;
getGranularStatsOrDefault(String key, TimestampStats.GranularStats defaultValue)
public TimestampStats.GranularStats getGranularStatsOrDefault(String key, TimestampStats.GranularStats defaultValue)
The string key is the pre-defined granularity. Currently supported:
hour_of_day, day_of_week, month_of_year.
Granularities finer that the granularity of timestamp data are not
populated (e.g. if timestamps are at day granularity, then hour_of_day
is not populated).
map<string, .google.cloud.automl.v1beta1.TimestampStats.GranularStats> granular_stats = 1;
getGranularStatsOrThrow(String key)
public TimestampStats.GranularStats getGranularStatsOrThrow(String key)
The string key is the pre-defined granularity. Currently supported:
hour_of_day, day_of_week, month_of_year.
Granularities finer that the granularity of timestamp data are not
populated (e.g. if timestamps are at day granularity, then hour_of_day
is not populated).
map<string, .google.cloud.automl.v1beta1.TimestampStats.GranularStats> granular_stats = 1;
Parameter |
---|
Name | Description |
key | String
|
getParserForType()
public Parser<TimestampStats> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TimestampStats.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TimestampStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public TimestampStats.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides