Class Aggregate (0.2.0)

public final class Aggregate extends GeneratedMessageV3 implements AggregateOrBuilder

Represents the aggregation of a set of population of like records by a certain group. For example, a collection of unit counts can be aggregated and grouped by their state.

Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate

Implements

AggregateOrBuilder

Static Fields

COUNT_FIELD_NUMBER

public static final int COUNT_FIELD_NUMBER
Field Value
Type Description
int

GROUP_FIELD_NUMBER

public static final int GROUP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Aggregate getDefaultInstance()
Returns
Type Description
Aggregate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Aggregate.Builder newBuilder()
Returns
Type Description
Aggregate.Builder

newBuilder(Aggregate prototype)

public static Aggregate.Builder newBuilder(Aggregate prototype)
Parameter
Name Description
prototype Aggregate
Returns
Type Description
Aggregate.Builder

parseDelimitedFrom(InputStream input)

public static Aggregate parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Aggregate
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Aggregate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Aggregate
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Aggregate parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Aggregate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Aggregate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Aggregate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Aggregate parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Aggregate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Aggregate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Aggregate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Aggregate parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Aggregate
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Aggregate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Aggregate
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Aggregate parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Aggregate
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Aggregate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Aggregate
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Aggregate parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Aggregate
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Aggregate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Aggregate
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Aggregate> parser()
Returns
Type Description
Parser<Aggregate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCount()

public int getCount()

Required. Number of records in the group.

int32 count = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count.

getDefaultInstanceForType()

public Aggregate getDefaultInstanceForType()
Returns
Type Description
Aggregate

getGroup()

public String getGroup()

Required. Group by which to aggregate.

string group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The group.

getGroupBytes()

public ByteString getGroupBytes()

Required. Group by which to aggregate.

string group = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for group.

getParserForType()

public Parser<Aggregate> getParserForType()
Returns
Type Description
Parser<Aggregate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Aggregate.Builder newBuilderForType()
Returns
Type Description
Aggregate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Aggregate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Aggregate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Aggregate.Builder toBuilder()
Returns
Type Description
Aggregate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException