Class DatasetDistribution.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatasetDistribution.Builder>
com.google.cloud.aiplatform.v1beta1.DatasetDistribution.Builder
- All Implemented Interfaces:
DatasetDistributionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DatasetDistribution
public static final class DatasetDistribution.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DatasetDistribution.Builder>
implements DatasetDistributionOrBuilder
Distribution computed over a tuning dataset.Protobuf type
google.cloud.aiplatform.v1beta1.DatasetDistribution-
Method Summary
Modifier and TypeMethodDescriptionaddAllBuckets(Iterable<? extends DatasetDistribution.DistributionBucket> values) Output only.addBuckets(int index, DatasetDistribution.DistributionBucket value) Output only.addBuckets(int index, DatasetDistribution.DistributionBucket.Builder builderForValue) Output only.Output only.addBuckets(DatasetDistribution.DistributionBucket.Builder builderForValue) Output only.Output only.addBucketsBuilder(int index) Output only.build()clear()Output only.clearMax()Output only.Output only.Output only.clearMin()Output only.clearP5()Output only.clearP95()Output only.clearSum()Output only.getBuckets(int index) Output only.getBucketsBuilder(int index) Output only.Output only.intOutput only.Output only.getBucketsOrBuilder(int index) Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoublegetMax()Output only.doublegetMean()Output only.doubleOutput only.doublegetMin()Output only.doublegetP5()Output only.doublegetP95()Output only.doublegetSum()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DatasetDistribution other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeBuckets(int index) Output only.setBuckets(int index, DatasetDistribution.DistributionBucket value) Output only.setBuckets(int index, DatasetDistribution.DistributionBucket.Builder builderForValue) Output only.setMax(double value) Output only.setMean(double value) Output only.setMedian(double value) Output only.setMin(double value) Output only.setP5(double value) Output only.setP95(double value) Output only.setSum(double value) Output only.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<DatasetDistribution.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<DatasetDistribution.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<DatasetDistribution.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<DatasetDistribution.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DatasetDistribution.Builder>
-
mergeFrom
public DatasetDistribution.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<DatasetDistribution.Builder>- Throws:
IOException
-
getSum
public double getSum()Output only. Sum of a given population of values.
double sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSumin interfaceDatasetDistributionOrBuilder- Returns:
- The sum.
-
setSum
Output only. Sum of a given population of values.
double sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The sum to set.- Returns:
- This builder for chaining.
-
clearSum
Output only. Sum of a given population of values.
double sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getMin
public double getMin()Output only. The minimum of the population values.
double min = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMinin interfaceDatasetDistributionOrBuilder- Returns:
- The min.
-
setMin
Output only. The minimum of the population values.
double min = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The min to set.- Returns:
- This builder for chaining.
-
clearMin
Output only. The minimum of the population values.
double min = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getMax
public double getMax()Output only. The maximum of the population values.
double max = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaxin interfaceDatasetDistributionOrBuilder- Returns:
- The max.
-
setMax
Output only. The maximum of the population values.
double max = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The max to set.- Returns:
- This builder for chaining.
-
clearMax
Output only. The maximum of the population values.
double max = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getMean
public double getMean()Output only. The arithmetic mean of the values in the population.
double mean = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMeanin interfaceDatasetDistributionOrBuilder- Returns:
- The mean.
-
setMean
Output only. The arithmetic mean of the values in the population.
double mean = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The mean to set.- Returns:
- This builder for chaining.
-
clearMean
Output only. The arithmetic mean of the values in the population.
double mean = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getMedian
public double getMedian()Output only. The median of the values in the population.
double median = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMedianin interfaceDatasetDistributionOrBuilder- Returns:
- The median.
-
setMedian
Output only. The median of the values in the population.
double median = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The median to set.- Returns:
- This builder for chaining.
-
clearMedian
Output only. The median of the values in the population.
double median = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getP5
public double getP5()Output only. The 5th percentile of the values in the population.
double p5 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getP5in interfaceDatasetDistributionOrBuilder- Returns:
- The p5.
-
setP5
Output only. The 5th percentile of the values in the population.
double p5 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The p5 to set.- Returns:
- This builder for chaining.
-
clearP5
Output only. The 5th percentile of the values in the population.
double p5 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getP95
public double getP95()Output only. The 95th percentile of the values in the population.
double p95 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getP95in interfaceDatasetDistributionOrBuilder- Returns:
- The p95.
-
setP95
Output only. The 95th percentile of the values in the population.
double p95 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The p95 to set.- Returns:
- This builder for chaining.
-
clearP95
Output only. The 95th percentile of the values in the population.
double p95 = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getBucketsList
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBucketsListin interfaceDatasetDistributionOrBuilder
-
getBucketsCount
public int getBucketsCount()Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBucketsCountin interfaceDatasetDistributionOrBuilder
-
getBuckets
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBucketsin interfaceDatasetDistributionOrBuilder
-
setBuckets
public DatasetDistribution.Builder setBuckets(int index, DatasetDistribution.DistributionBucket value) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setBuckets
public DatasetDistribution.Builder setBuckets(int index, DatasetDistribution.DistributionBucket.Builder builderForValue) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addBuckets
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addBuckets
public DatasetDistribution.Builder addBuckets(int index, DatasetDistribution.DistributionBucket value) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addBuckets
public DatasetDistribution.Builder addBuckets(DatasetDistribution.DistributionBucket.Builder builderForValue) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addBuckets
public DatasetDistribution.Builder addBuckets(int index, DatasetDistribution.DistributionBucket.Builder builderForValue) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllBuckets
public DatasetDistribution.Builder addAllBuckets(Iterable<? extends DatasetDistribution.DistributionBucket> values) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearBuckets
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeBuckets
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getBucketsBuilder
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getBucketsOrBuilder
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBucketsOrBuilderin interfaceDatasetDistributionOrBuilder
-
getBucketsOrBuilderList
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBucketsOrBuilderListin interfaceDatasetDistributionOrBuilder
-
addBucketsBuilder
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addBucketsBuilder
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getBucketsBuilderList
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1beta1.DatasetDistribution.DistributionBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-