Send feedback
Class MaintenanceSummary.Aggregate.Builder (0.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class MaintenanceSummary . Aggregate . Builder extends GeneratedMessageV3 . Builder<MaintenanceSummary . Aggregate . Builder > implements MaintenanceSummary . AggregateOrBuilder
Aggregate is a <group, count> pair.
Protobuf type google.cloud.maintenance.api.v1beta.MaintenanceSummary.Aggregate
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceSummary . Aggregate . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public MaintenanceSummary . Aggregate build ()
buildPartial()
public MaintenanceSummary . Aggregate buildPartial ()
clear()
public MaintenanceSummary . Aggregate . Builder clear ()
Overrides
clearCount()
public MaintenanceSummary . Aggregate . Builder clearCount ()
The count of the group.
int64 count = 2;
clearField(Descriptors.FieldDescriptor field)
public MaintenanceSummary . Aggregate . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public MaintenanceSummary . Aggregate . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public MaintenanceSummary . Aggregate . Builder clone ()
Overrides
getCount()
The count of the group.
int64 count = 2;
Returns
Type
Description
long
The count.
getDefaultInstanceForType()
public MaintenanceSummary . Aggregate getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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 GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(MaintenanceSummary.Aggregate other)
public MaintenanceSummary . Aggregate . Builder mergeFrom ( MaintenanceSummary . Aggregate other )
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MaintenanceSummary . Aggregate . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public MaintenanceSummary . Aggregate . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceSummary . Aggregate . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCount(long value)
public MaintenanceSummary . Aggregate . Builder setCount ( long value )
The count of the group.
int64 count = 2;
Parameter
Name
Description
value
long
The count to set.
setField(Descriptors.FieldDescriptor field, Object value)
public MaintenanceSummary . Aggregate . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
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
String
The group to set.
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
ByteString
The bytes for group to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MaintenanceSummary . Aggregate . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MaintenanceSummary . Aggregate . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 UTC."],[],[]]