Package com.google.cloud.aiplatform.v1
Class SupervisedTuningDatasetDistribution.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SupervisedTuningDatasetDistribution.Builder>
com.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.Builder
- All Implemented Interfaces:
SupervisedTuningDatasetDistributionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SupervisedTuningDatasetDistribution
public static final class SupervisedTuningDatasetDistribution.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SupervisedTuningDatasetDistribution.Builder>
implements SupervisedTuningDatasetDistributionOrBuilder
Dataset distribution for Supervised Tuning.Protobuf type
google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution-
Method Summary
Modifier and TypeMethodDescriptionaddAllBuckets(Iterable<? extends SupervisedTuningDatasetDistribution.DatasetBucket> values) Output only.addBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket value) Output only.addBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue) Output only.Output only.addBuckets(SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue) Output only.Output only.addBucketsBuilder(int index) Output only.build()clear()Output only.Output only.clearMax()Output only.Output only.Output only.clearMin()Output only.clearP5()Output only.clearP95()Output only.clearSum()Output only.longOutput 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.longgetSum()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeBuckets(int index) Output only.setBillableSum(long value) Output only.setBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket value) Output only.setBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket.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(long 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<SupervisedTuningDatasetDistribution.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<SupervisedTuningDatasetDistribution.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<SupervisedTuningDatasetDistribution.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<SupervisedTuningDatasetDistribution.Builder>
-
mergeFrom
public SupervisedTuningDatasetDistribution.Builder mergeFrom(SupervisedTuningDatasetDistribution other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SupervisedTuningDatasetDistribution.Builder>
-
mergeFrom
public SupervisedTuningDatasetDistribution.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<SupervisedTuningDatasetDistribution.Builder>- Throws:
IOException
-
getSum
public long getSum()Output only. Sum of a given population of values.
int64 sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSumin interfaceSupervisedTuningDatasetDistributionOrBuilder- Returns:
- The sum.
-
setSum
Output only. Sum of a given population of values.
int64 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.
int64 sum = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getBillableSum
public long getBillableSum()Output only. Sum of a given population of values that are billable.
int64 billable_sum = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBillableSumin interfaceSupervisedTuningDatasetDistributionOrBuilder- Returns:
- The billableSum.
-
setBillableSum
Output only. Sum of a given population of values that are billable.
int64 billable_sum = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The billableSum to set.- Returns:
- This builder for chaining.
-
clearBillableSum
Output only. Sum of a given population of values that are billable.
int64 billable_sum = 9 [(.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 interfaceSupervisedTuningDatasetDistributionOrBuilder- 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 interfaceSupervisedTuningDatasetDistributionOrBuilder- 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 interfaceSupervisedTuningDatasetDistributionOrBuilder- 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 interfaceSupervisedTuningDatasetDistributionOrBuilder- 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 interfaceSupervisedTuningDatasetDistributionOrBuilder- 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 interfaceSupervisedTuningDatasetDistributionOrBuilder- 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.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBucketsListin interfaceSupervisedTuningDatasetDistributionOrBuilder
-
getBucketsCount
public int getBucketsCount()Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBucketsCountin interfaceSupervisedTuningDatasetDistributionOrBuilder
-
getBuckets
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBucketsin interfaceSupervisedTuningDatasetDistributionOrBuilder
-
setBuckets
public SupervisedTuningDatasetDistribution.Builder setBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket value) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setBuckets
public SupervisedTuningDatasetDistribution.Builder setBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addBuckets
public SupervisedTuningDatasetDistribution.Builder addBuckets(SupervisedTuningDatasetDistribution.DatasetBucket value) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addBuckets
public SupervisedTuningDatasetDistribution.Builder addBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket value) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addBuckets
public SupervisedTuningDatasetDistribution.Builder addBuckets(SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addBuckets
public SupervisedTuningDatasetDistribution.Builder addBuckets(int index, SupervisedTuningDatasetDistribution.DatasetBucket.Builder builderForValue) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllBuckets
public SupervisedTuningDatasetDistribution.Builder addAllBuckets(Iterable<? extends SupervisedTuningDatasetDistribution.DatasetBucket> values) Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearBuckets
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeBuckets
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getBucketsBuilder
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getBucketsOrBuilder
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBucketsOrBuilderin interfaceSupervisedTuningDatasetDistributionOrBuilder
-
getBucketsOrBuilderList
public List<? extends SupervisedTuningDatasetDistribution.DatasetBucketOrBuilder> getBucketsOrBuilderList()Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBucketsOrBuilderListin interfaceSupervisedTuningDatasetDistributionOrBuilder
-
addBucketsBuilder
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addBucketsBuilder
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getBucketsBuilderList
Output only. Defines the histogram bucket.
repeated .google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucket buckets = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-