Class AggregationResult.Histogram.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
- com.google.cloud.migrationcenter.v1.AggregationResult.Histogram.Builder
-
- All Implemented Interfaces:
AggregationResult.HistogramOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AggregationResult.Histogram
public static final class AggregationResult.Histogram.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder> implements AggregationResult.HistogramOrBuilder
The result of a bucketed histogram aggregation.
Protobuf typegoogle.cloud.migrationcenter.v1.AggregationResult.Histogram
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
clear
public AggregationResult.Histogram.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
getDefaultInstanceForType
public AggregationResult.Histogram getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AggregationResult.Histogram build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AggregationResult.Histogram buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AggregationResult.Histogram.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
setField
public AggregationResult.Histogram.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
clearField
public AggregationResult.Histogram.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
clearOneof
public AggregationResult.Histogram.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
setRepeatedField
public AggregationResult.Histogram.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
addRepeatedField
public AggregationResult.Histogram.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
mergeFrom
public AggregationResult.Histogram.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AggregationResult.Histogram.Builder>
-
mergeFrom
public AggregationResult.Histogram.Builder mergeFrom(AggregationResult.Histogram other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
mergeFrom
public AggregationResult.Histogram.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AggregationResult.Histogram.Builder>
- Throws:
IOException
-
getBucketsList
public List<AggregationResult.Histogram.Bucket> getBucketsList()
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
- Specified by:
getBucketsList
in interfaceAggregationResult.HistogramOrBuilder
-
getBucketsCount
public int getBucketsCount()
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
- Specified by:
getBucketsCount
in interfaceAggregationResult.HistogramOrBuilder
-
getBuckets
public AggregationResult.Histogram.Bucket getBuckets(int index)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
- Specified by:
getBuckets
in interfaceAggregationResult.HistogramOrBuilder
-
setBuckets
public AggregationResult.Histogram.Builder setBuckets(int index, AggregationResult.Histogram.Bucket value)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
setBuckets
public AggregationResult.Histogram.Builder setBuckets(int index, AggregationResult.Histogram.Bucket.Builder builderForValue)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
addBuckets
public AggregationResult.Histogram.Builder addBuckets(AggregationResult.Histogram.Bucket value)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
addBuckets
public AggregationResult.Histogram.Builder addBuckets(int index, AggregationResult.Histogram.Bucket value)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
addBuckets
public AggregationResult.Histogram.Builder addBuckets(AggregationResult.Histogram.Bucket.Builder builderForValue)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
addBuckets
public AggregationResult.Histogram.Builder addBuckets(int index, AggregationResult.Histogram.Bucket.Builder builderForValue)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
addAllBuckets
public AggregationResult.Histogram.Builder addAllBuckets(Iterable<? extends AggregationResult.Histogram.Bucket> values)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
clearBuckets
public AggregationResult.Histogram.Builder clearBuckets()
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
removeBuckets
public AggregationResult.Histogram.Builder removeBuckets(int index)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
getBucketsBuilder
public AggregationResult.Histogram.Bucket.Builder getBucketsBuilder(int index)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
getBucketsOrBuilder
public AggregationResult.Histogram.BucketOrBuilder getBucketsOrBuilder(int index)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
- Specified by:
getBucketsOrBuilder
in interfaceAggregationResult.HistogramOrBuilder
-
getBucketsOrBuilderList
public List<? extends AggregationResult.Histogram.BucketOrBuilder> getBucketsOrBuilderList()
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
- Specified by:
getBucketsOrBuilderList
in interfaceAggregationResult.HistogramOrBuilder
-
addBucketsBuilder
public AggregationResult.Histogram.Bucket.Builder addBucketsBuilder()
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
addBucketsBuilder
public AggregationResult.Histogram.Bucket.Builder addBucketsBuilder(int index)
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
getBucketsBuilderList
public List<AggregationResult.Histogram.Bucket.Builder> getBucketsBuilderList()
Buckets in the histogram. There will be `n+1` buckets matching `n` lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
repeated .google.cloud.migrationcenter.v1.AggregationResult.Histogram.Bucket buckets = 1;
-
setUnknownFields
public final AggregationResult.Histogram.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
mergeUnknownFields
public final AggregationResult.Histogram.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AggregationResult.Histogram.Builder>
-
-