- 2.51.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.18
- 2.2.3
- 2.1.23
public static final class TimestampStats.GranularStats.Builder extends GeneratedMessageV3.Builder<TimestampStats.GranularStats.Builder> implements TimestampStats.GranularStatsOrBuilder
Stats split by a defined in context granularity.
Protobuf type google.cloud.automl.v1beta1.TimestampStats.GranularStats
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TimestampStats.GranularStats.BuilderImplements
TimestampStats.GranularStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TimestampStats.GranularStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TimestampStats.GranularStats.Builder |
build()
public TimestampStats.GranularStats build()
Type | Description |
TimestampStats.GranularStats |
buildPartial()
public TimestampStats.GranularStats buildPartial()
Type | Description |
TimestampStats.GranularStats |
clear()
public TimestampStats.GranularStats.Builder clear()
Type | Description |
TimestampStats.GranularStats.Builder |
clearBuckets()
public TimestampStats.GranularStats.Builder clearBuckets()
Type | Description |
TimestampStats.GranularStats.Builder |
clearField(Descriptors.FieldDescriptor field)
public TimestampStats.GranularStats.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TimestampStats.GranularStats.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TimestampStats.GranularStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TimestampStats.GranularStats.Builder |
clone()
public TimestampStats.GranularStats.Builder clone()
Type | Description |
TimestampStats.GranularStats.Builder |
containsBuckets(int key)
public boolean containsBuckets(int key)
A map from granularity key to example count for that key.
E.g. for hour_of_day 13
means 1pm, or for month_of_year 5
means May).
map<int32, int64> buckets = 1;
Name | Description |
key | int |
Type | Description |
boolean |
getBuckets()
public Map<Integer,Long> getBuckets()
Use #getBucketsMap() instead.
Type | Description |
Map<Integer,java.lang.Long> |
getBucketsCount()
public int getBucketsCount()
A map from granularity key to example count for that key.
E.g. for hour_of_day 13
means 1pm, or for month_of_year 5
means May).
map<int32, int64> buckets = 1;
Type | Description |
int |
getBucketsMap()
public Map<Integer,Long> getBucketsMap()
A map from granularity key to example count for that key.
E.g. for hour_of_day 13
means 1pm, or for month_of_year 5
means May).
map<int32, int64> buckets = 1;
Type | Description |
Map<Integer,java.lang.Long> |
getBucketsOrDefault(int key, long defaultValue)
public long getBucketsOrDefault(int key, long defaultValue)
A map from granularity key to example count for that key.
E.g. for hour_of_day 13
means 1pm, or for month_of_year 5
means May).
map<int32, int64> buckets = 1;
Name | Description |
key | int |
defaultValue | long |
Type | Description |
long |
getBucketsOrThrow(int key)
public long getBucketsOrThrow(int key)
A map from granularity key to example count for that key.
E.g. for hour_of_day 13
means 1pm, or for month_of_year 5
means May).
map<int32, int64> buckets = 1;
Name | Description |
key | int |
Type | Description |
long |
getDefaultInstanceForType()
public TimestampStats.GranularStats getDefaultInstanceForType()
Type | Description |
TimestampStats.GranularStats |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMutableBuckets()
public Map<Integer,Long> getMutableBuckets()
Use alternate mutation accessors instead.
Type | Description |
Map<Integer,java.lang.Long> |
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.GranularStats other)
public TimestampStats.GranularStats.Builder mergeFrom(TimestampStats.GranularStats other)
Name | Description |
other | TimestampStats.GranularStats |
Type | Description |
TimestampStats.GranularStats.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TimestampStats.GranularStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TimestampStats.GranularStats.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TimestampStats.GranularStats.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TimestampStats.GranularStats.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TimestampStats.GranularStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TimestampStats.GranularStats.Builder |
putAllBuckets(Map<Integer,Long> values)
public TimestampStats.GranularStats.Builder putAllBuckets(Map<Integer,Long> values)
A map from granularity key to example count for that key.
E.g. for hour_of_day 13
means 1pm, or for month_of_year 5
means May).
map<int32, int64> buckets = 1;
Name | Description |
values | Map<Integer,java.lang.Long> |
Type | Description |
TimestampStats.GranularStats.Builder |
putBuckets(int key, long value)
public TimestampStats.GranularStats.Builder putBuckets(int key, long value)
A map from granularity key to example count for that key.
E.g. for hour_of_day 13
means 1pm, or for month_of_year 5
means May).
map<int32, int64> buckets = 1;
Name | Description |
key | int |
value | long |
Type | Description |
TimestampStats.GranularStats.Builder |
removeBuckets(int key)
public TimestampStats.GranularStats.Builder removeBuckets(int key)
A map from granularity key to example count for that key.
E.g. for hour_of_day 13
means 1pm, or for month_of_year 5
means May).
map<int32, int64> buckets = 1;
Name | Description |
key | int |
Type | Description |
TimestampStats.GranularStats.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TimestampStats.GranularStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TimestampStats.GranularStats.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TimestampStats.GranularStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TimestampStats.GranularStats.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TimestampStats.GranularStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TimestampStats.GranularStats.Builder |