public static final class TimestampStats.Builder extends GeneratedMessageV3.Builder<TimestampStats.Builder> implements TimestampStatsOrBuilder
The data statistics of a series of TIMESTAMP values.
Protobuf type google.cloud.automl.v1beta1.TimestampStats
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimestampStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TimestampStats build()
buildPartial()
public TimestampStats buildPartial()
clear()
public TimestampStats.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TimestampStats.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGranularStats()
public TimestampStats.Builder clearGranularStats()
clearOneof(Descriptors.OneofDescriptor oneof)
public TimestampStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TimestampStats.Builder clone()
Overrides
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
|
getDefaultInstanceForType()
public TimestampStats getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGranularStats() (deprecated)
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
|
getMutableGranularStats() (deprecated)
public Map<String,TimestampStats.GranularStats> getMutableGranularStats()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TimestampStats other)
public TimestampStats.Builder mergeFrom(TimestampStats other)
public TimestampStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TimestampStats.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimestampStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
putGranularStatsBuilderIfAbsent(String key)
public TimestampStats.GranularStats.Builder putGranularStatsBuilderIfAbsent(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
|
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;
Parameter |
---|
Name | Description |
key | String
|
setField(Descriptors.FieldDescriptor field, Object value)
public TimestampStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimestampStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TimestampStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides