public static final class TimestampStats.Builder extends GeneratedMessageV3.Builder<TimestampStats.Builder> implements TimestampStatsOrBuilderThe data statistics of a series of TIMESTAMP values.
Protobuf type google.cloud.automl.v1beta1.TimestampStats
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TimestampStats.BuilderImplements
TimestampStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimestampStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| TimestampStats.Builder |
build()
public TimestampStats build()| Type | Description |
| TimestampStats |
buildPartial()
public TimestampStats buildPartial()| Type | Description |
| TimestampStats |
clear()
public TimestampStats.Builder clear()| Type | Description |
| TimestampStats.Builder |
clearField(Descriptors.FieldDescriptor field)
public TimestampStats.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| TimestampStats.Builder |
clearGranularStats()
public TimestampStats.Builder clearGranularStats()| Type | Description |
| TimestampStats.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TimestampStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| TimestampStats.Builder |
clone()
public TimestampStats.Builder clone()| Type | Description |
| TimestampStats.Builder |
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;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getDefaultInstanceForType()
public TimestampStats getDefaultInstanceForType()| Type | Description |
| TimestampStats |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getGranularStats()
public Map<String,TimestampStats.GranularStats> getGranularStats()Use #getGranularStatsMap() instead.
| Type | Description |
| Map<String,GranularStats> |
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;
| 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;
| Type | Description |
| Map<String,GranularStats> |
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;
| Name | Description |
| key | String |
| defaultValue | TimestampStats.GranularStats |
| Type | Description |
| TimestampStats.GranularStats |
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;
| Name | Description |
| key | String |
| Type | Description |
| TimestampStats.GranularStats |
getMutableGranularStats()
public Map<String,TimestampStats.GranularStats> getMutableGranularStats()Use alternate mutation accessors instead.
| Type | Description |
| Map<String,GranularStats> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(TimestampStats other)
public TimestampStats.Builder mergeFrom(TimestampStats other)| Name | Description |
| other | TimestampStats |
| Type | Description |
| TimestampStats.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimestampStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| TimestampStats.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public TimestampStats.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| TimestampStats.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimestampStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| TimestampStats.Builder |
putAllGranularStats(Map<String,TimestampStats.GranularStats> values)
public TimestampStats.Builder putAllGranularStats(Map<String,TimestampStats.GranularStats> values)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;
| Name | Description |
| values | Map<String,GranularStats> |
| Type | Description |
| TimestampStats.Builder |
putGranularStats(String key, TimestampStats.GranularStats value)
public TimestampStats.Builder putGranularStats(String key, TimestampStats.GranularStats value)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;
| Name | Description |
| key | String |
| value | TimestampStats.GranularStats |
| Type | Description |
| TimestampStats.Builder |
removeGranularStats(String key)
public TimestampStats.Builder removeGranularStats(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;
| Name | Description |
| key | String |
| Type | Description |
| TimestampStats.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TimestampStats.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| TimestampStats.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimestampStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| TimestampStats.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TimestampStats.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| TimestampStats.Builder |