Class MaintenanceSummary.Stats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Stats.Builder>
com.google.cloud.maintenance.api.v1.MaintenanceSummary.Stats.Builder
- All Implemented Interfaces:
MaintenanceSummary.StatsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MaintenanceSummary.Stats
public static final class MaintenanceSummary.Stats.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Stats.Builder>
implements MaintenanceSummary.StatsOrBuilder
Stats indicates the type of aggregate and the corresponding aggregates.Protobuf type
google.cloud.maintenance.api.v1.MaintenanceSummary.Stats-
Method Summary
Modifier and TypeMethodDescriptionaddAggregates(int index, MaintenanceSummary.Aggregate value) Aggregates is a list <group, count> pairs.addAggregates(int index, MaintenanceSummary.Aggregate.Builder builderForValue) Aggregates is a list <group, count> pairs.Aggregates is a list <group, count> pairs.addAggregates(MaintenanceSummary.Aggregate.Builder builderForValue) Aggregates is a list <group, count> pairs.Aggregates is a list <group, count> pairs.addAggregatesBuilder(int index) Aggregates is a list <group, count> pairs.addAllAggregates(Iterable<? extends MaintenanceSummary.Aggregate> values) Aggregates is a list <group, count> pairs.build()clear()Aggregates is a list <group, count> pairs.groupBy specifies the type of aggregate.getAggregates(int index) Aggregates is a list <group, count> pairs.getAggregatesBuilder(int index) Aggregates is a list <group, count> pairs.Aggregates is a list <group, count> pairs.intAggregates is a list <group, count> pairs.Aggregates is a list <group, count> pairs.getAggregatesOrBuilder(int index) Aggregates is a list <group, count> pairs.List<? extends MaintenanceSummary.AggregateOrBuilder>Aggregates is a list <group, count> pairs.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgroupBy specifies the type of aggregate.com.google.protobuf.ByteStringgroupBy specifies the type of aggregate.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAggregates(int index) Aggregates is a list <group, count> pairs.setAggregates(int index, MaintenanceSummary.Aggregate value) Aggregates is a list <group, count> pairs.setAggregates(int index, MaintenanceSummary.Aggregate.Builder builderForValue) Aggregates is a list <group, count> pairs.setGroupBy(String value) groupBy specifies the type of aggregate.setGroupByBytes(com.google.protobuf.ByteString value) groupBy specifies the type of aggregate.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Stats.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Stats.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Stats.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MaintenanceSummary.Stats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MaintenanceSummary.Stats.Builder>
-
mergeFrom
public MaintenanceSummary.Stats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MaintenanceSummary.Stats.Builder>- Throws:
IOException
-
getGroupBy
groupBy specifies the type of aggregate. For example a group_by might be `"state"`
string group_by = 1;- Specified by:
getGroupByin interfaceMaintenanceSummary.StatsOrBuilder- Returns:
- The groupBy.
-
getGroupByBytes
public com.google.protobuf.ByteString getGroupByBytes()groupBy specifies the type of aggregate. For example a group_by might be `"state"`
string group_by = 1;- Specified by:
getGroupByBytesin interfaceMaintenanceSummary.StatsOrBuilder- Returns:
- The bytes for groupBy.
-
setGroupBy
groupBy specifies the type of aggregate. For example a group_by might be `"state"`
string group_by = 1;- Parameters:
value- The groupBy to set.- Returns:
- This builder for chaining.
-
clearGroupBy
groupBy specifies the type of aggregate. For example a group_by might be `"state"`
string group_by = 1;- Returns:
- This builder for chaining.
-
setGroupByBytes
groupBy specifies the type of aggregate. For example a group_by might be `"state"`
string group_by = 1;- Parameters:
value- The bytes for groupBy to set.- Returns:
- This builder for chaining.
-
getAggregatesList
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;- Specified by:
getAggregatesListin interfaceMaintenanceSummary.StatsOrBuilder
-
getAggregatesCount
public int getAggregatesCount()Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;- Specified by:
getAggregatesCountin interfaceMaintenanceSummary.StatsOrBuilder
-
getAggregates
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;- Specified by:
getAggregatesin interfaceMaintenanceSummary.StatsOrBuilder
-
setAggregates
public MaintenanceSummary.Stats.Builder setAggregates(int index, MaintenanceSummary.Aggregate value) Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
setAggregates
public MaintenanceSummary.Stats.Builder setAggregates(int index, MaintenanceSummary.Aggregate.Builder builderForValue) Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
addAggregates
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
addAggregates
public MaintenanceSummary.Stats.Builder addAggregates(int index, MaintenanceSummary.Aggregate value) Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
addAggregates
public MaintenanceSummary.Stats.Builder addAggregates(MaintenanceSummary.Aggregate.Builder builderForValue) Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
addAggregates
public MaintenanceSummary.Stats.Builder addAggregates(int index, MaintenanceSummary.Aggregate.Builder builderForValue) Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
addAllAggregates
public MaintenanceSummary.Stats.Builder addAllAggregates(Iterable<? extends MaintenanceSummary.Aggregate> values) Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
clearAggregates
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
removeAggregates
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
getAggregatesBuilder
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
getAggregatesOrBuilder
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;- Specified by:
getAggregatesOrBuilderin interfaceMaintenanceSummary.StatsOrBuilder
-
getAggregatesOrBuilderList
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;- Specified by:
getAggregatesOrBuilderListin interfaceMaintenanceSummary.StatsOrBuilder
-
addAggregatesBuilder
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
addAggregatesBuilder
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2; -
getAggregatesBuilderList
Aggregates is a list <group, count> pairs. For example, if the group_by is `"state"` a possible tuple in the aggregates list could be "SCHEDULED" : `11`,
repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;
-