@BetaApi
public interface Type
Type protobuf message.Type| Modifier and Type | Interface and Description |
|---|---|
static class |
Type.Aggregate
A value that combines incremental updates into a summarized value.
|
static class |
Type.Bytes
Represents a string of bytes with a specific encoding.
|
static interface |
Type.HllAggregateInput |
static class |
Type.Int64
Represents a 64-bit integer with a specific encoding.
|
static interface |
Type.MaxAggregateInput |
static interface |
Type.MinAggregateInput |
static class |
Type.Raw |
static interface |
Type.SumAggregateInput
These types are marker types that allow types to be used as the input to aggregate function.
|
| Modifier and Type | Method and Description |
|---|---|
static Type.Int64 |
bigEndianInt64()
Creates an Int64 type with a big-endian encoding.
|
static Type.Bytes |
bytes(Type.Bytes.Encoding encoding)
Creates a Bytes type with the specified encoding
|
static Type |
fromProto(Type source) |
static Type.Aggregate |
hll(Type.HllAggregateInput inputType)
Creates an Aggregate type with a HLL aggregator and specified input type.
|
static Type.Int64 |
int64(Type.Int64.Encoding encoding)
Creates an Int64 type with the specified encoding.
|
static Type.Aggregate |
int64Hll()
Creates an Aggregate type with a HLL aggregator and Int64 input type.
|
static Type.Aggregate |
int64Max()
Creates an Aggregate type with a MAX aggregator and Int64 input type.
|
static Type.Aggregate |
int64Min()
Creates an Aggregate type with a MIN aggregator and Int64 input type.
|
static Type.Aggregate |
int64Sum()
Creates an Aggregate type with a SUM aggregator and Int64 input type.
|
static Type.Aggregate |
max(Type.MaxAggregateInput inputType)
Creates an Aggregate type with a MAX aggregator and specified input type.
|
static Type.Aggregate |
min(Type.MinAggregateInput inputType)
Creates an Aggregate type with a MIN aggregator and specified input type.
|
static Type.Raw |
raw()
The raw type denotes the absence of a type.
|
static Type.Bytes |
rawBytes()
Creates a Bytes type with a "raw" encoding, leaving the bytes encoded as they are passed in.
|
static Type.Aggregate |
sum(Type.SumAggregateInput inputType)
Creates an Aggregate type with a SUM aggregator and specified input type.
|
Type |
toProto() |
Type toProto()
static Type.Raw raw()
static Type.Bytes rawBytes()
static Type.Bytes bytes(Type.Bytes.Encoding encoding)
static Type.Int64 bigEndianInt64()
static Type.Int64 int64(Type.Int64.Encoding encoding)
static Type.Aggregate int64Sum()
static Type.Aggregate sum(Type.SumAggregateInput inputType)
static Type.Aggregate int64Min()
static Type.Aggregate min(Type.MinAggregateInput inputType)
static Type.Aggregate int64Max()
static Type.Aggregate max(Type.MaxAggregateInput inputType)
static Type.Aggregate int64Hll()
static Type.Aggregate hll(Type.HllAggregateInput inputType)
Copyright © 2026 Google LLC. All rights reserved.