public static final class Aggregate.Builder extends GeneratedMessage.Builder<Aggregate.Builder> implements AggregateOrBuilderRepresents 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Aggregate.BuilderImplements
AggregateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Aggregate build()| Returns | |
|---|---|
| Type | Description |
Aggregate |
|
buildPartial()
public Aggregate buildPartial()| Returns | |
|---|---|
| Type | Description |
Aggregate |
|
clear()
public Aggregate.Builder clear()| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
|
clearCount()
public Aggregate.Builder clearCount()Required. Number of records in the group.
int32 count = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
This builder for chaining. |
clearGroup()
public Aggregate.Builder clearGroup()Required. Group by which to aggregate.
string group = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Aggregate other)
public Aggregate.Builder mergeFrom(Aggregate other)| Parameter | |
|---|---|
| Name | Description |
other |
Aggregate |
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Aggregate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Aggregate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
|
setCount(int value)
public Aggregate.Builder setCount(int value)Required. Number of records in the group.
int32 count = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe count to set. |
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
This builder for chaining. |
setGroup(String value)
public Aggregate.Builder setGroup(String value)Required. Group by which to aggregate.
string group = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe group to set. |
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
This builder for chaining. |
setGroupBytes(ByteString value)
public Aggregate.Builder setGroupBytes(ByteString value)Required. Group by which to aggregate.
string group = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for group to set. |
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
This builder for chaining. |