public static final class MaintenanceSummary.Aggregate.Builder extends GeneratedMessage.Builder<MaintenanceSummary.Aggregate.Builder> implements MaintenanceSummary.AggregateOrBuilderAggregate is a <group, count> pair.
Protobuf type google.cloud.maintenance.api.v1beta.MaintenanceSummary.Aggregate
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MaintenanceSummary.Aggregate.BuilderImplements
MaintenanceSummary.AggregateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MaintenanceSummary.Aggregate build()| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate |
|
buildPartial()
public MaintenanceSummary.Aggregate buildPartial()| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate |
|
clear()
public MaintenanceSummary.Aggregate.Builder clear()| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate.Builder |
|
clearCount()
public MaintenanceSummary.Aggregate.Builder clearCount()The count of the group.
int64 count = 2;
| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate.Builder |
This builder for chaining. |
clearGroup()
public MaintenanceSummary.Aggregate.Builder clearGroup() Specifies what specific value of the group_by the count represents. For
example if group_by is "state" its corresponding group could be
"SCHEDULED".
string group = 1;
| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate.Builder |
This builder for chaining. |
getCount()
public long getCount()The count of the group.
int64 count = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getDefaultInstanceForType()
public MaintenanceSummary.Aggregate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGroup()
public String getGroup() Specifies what specific value of the group_by the count represents. For
example if group_by is "state" its corresponding group could be
"SCHEDULED".
string group = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The group. |
getGroupBytes()
public ByteString getGroupBytes() Specifies what specific value of the group_by the count represents. For
example if group_by is "state" its corresponding group could be
"SCHEDULED".
string group = 1;
| 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(MaintenanceSummary.Aggregate other)
public MaintenanceSummary.Aggregate.Builder mergeFrom(MaintenanceSummary.Aggregate other)| Parameter | |
|---|---|
| Name | Description |
other |
MaintenanceSummary.Aggregate |
| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceSummary.Aggregate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MaintenanceSummary.Aggregate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate.Builder |
|
setCount(long value)
public MaintenanceSummary.Aggregate.Builder setCount(long value)The count of the group.
int64 count = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe count to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate.Builder |
This builder for chaining. |
setGroup(String value)
public MaintenanceSummary.Aggregate.Builder setGroup(String value) Specifies what specific value of the group_by the count represents. For
example if group_by is "state" its corresponding group could be
"SCHEDULED".
string group = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe group to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate.Builder |
This builder for chaining. |
setGroupBytes(ByteString value)
public MaintenanceSummary.Aggregate.Builder setGroupBytes(ByteString value) Specifies what specific value of the group_by the count represents. For
example if group_by is "state" its corresponding group could be
"SCHEDULED".
string group = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for group to set. |
| Returns | |
|---|---|
| Type | Description |
MaintenanceSummary.Aggregate.Builder |
This builder for chaining. |