Class DatasetStats.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatasetStats.Builder>
com.google.cloud.aiplatform.v1beta1.DatasetStats.Builder
- All Implemented Interfaces:
DatasetStatsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DatasetStats
public static final class DatasetStats.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DatasetStats.Builder>
implements DatasetStatsOrBuilder
Statistics computed over a tuning dataset.Protobuf type
google.cloud.aiplatform.v1beta1.DatasetStats-
Method Summary
Modifier and TypeMethodDescriptionaddAllUserDatasetExamples(Iterable<? extends Content> values) Output only.addUserDatasetExamples(int index, Content value) Output only.addUserDatasetExamples(int index, Content.Builder builderForValue) Output only.addUserDatasetExamples(Content value) Output only.addUserDatasetExamples(Content.Builder builderForValue) Output only.Output only.addUserDatasetExamplesBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOutput only.longOutput only.longOutput only.longOutput only.getUserDatasetExamples(int index) Output only.getUserDatasetExamplesBuilder(int index) Output only.Output only.intOutput only.Output only.getUserDatasetExamplesOrBuilder(int index) Output only.List<? extends ContentOrBuilder>Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DatasetStats other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.Output only.removeUserDatasetExamples(int index) Output only.setTotalBillableCharacterCount(long value) Output only.setTotalTuningCharacterCount(long value) Output only.setTuningDatasetExampleCount(long value) Output only.setTuningStepCount(long value) Output only.setUserDatasetExamples(int index, Content value) Output only.setUserDatasetExamples(int index, Content.Builder builderForValue) Output only.Output only.setUserInputTokenDistribution(DatasetDistribution.Builder builderForValue) Output only.Output only.setUserMessagePerExampleDistribution(DatasetDistribution.Builder builderForValue) Output only.Output only.setUserOutputTokenDistribution(DatasetDistribution.Builder builderForValue) 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<DatasetStats.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<DatasetStats.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<DatasetStats.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<DatasetStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DatasetStats.Builder>
-
mergeFrom
public DatasetStats.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<DatasetStats.Builder>- Throws:
IOException
-
getTuningDatasetExampleCount
public long getTuningDatasetExampleCount()Output only. Number of examples in the tuning dataset.
int64 tuning_dataset_example_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTuningDatasetExampleCountin interfaceDatasetStatsOrBuilder- Returns:
- The tuningDatasetExampleCount.
-
setTuningDatasetExampleCount
Output only. Number of examples in the tuning dataset.
int64 tuning_dataset_example_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The tuningDatasetExampleCount to set.- Returns:
- This builder for chaining.
-
clearTuningDatasetExampleCount
Output only. Number of examples in the tuning dataset.
int64 tuning_dataset_example_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTotalTuningCharacterCount
public long getTotalTuningCharacterCount()Output only. Number of tuning characters in the tuning dataset.
int64 total_tuning_character_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTotalTuningCharacterCountin interfaceDatasetStatsOrBuilder- Returns:
- The totalTuningCharacterCount.
-
setTotalTuningCharacterCount
Output only. Number of tuning characters in the tuning dataset.
int64 total_tuning_character_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The totalTuningCharacterCount to set.- Returns:
- This builder for chaining.
-
clearTotalTuningCharacterCount
Output only. Number of tuning characters in the tuning dataset.
int64 total_tuning_character_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTotalBillableCharacterCount
public long getTotalBillableCharacterCount()Output only. Number of billable characters in the tuning dataset.
int64 total_billable_character_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTotalBillableCharacterCountin interfaceDatasetStatsOrBuilder- Returns:
- The totalBillableCharacterCount.
-
setTotalBillableCharacterCount
Output only. Number of billable characters in the tuning dataset.
int64 total_billable_character_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The totalBillableCharacterCount to set.- Returns:
- This builder for chaining.
-
clearTotalBillableCharacterCount
Output only. Number of billable characters in the tuning dataset.
int64 total_billable_character_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTuningStepCount
public long getTuningStepCount()Output only. Number of tuning steps for this Tuning Job.
int64 tuning_step_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTuningStepCountin interfaceDatasetStatsOrBuilder- Returns:
- The tuningStepCount.
-
setTuningStepCount
Output only. Number of tuning steps for this Tuning Job.
int64 tuning_step_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The tuningStepCount to set.- Returns:
- This builder for chaining.
-
clearTuningStepCount
Output only. Number of tuning steps for this Tuning Job.
int64 tuning_step_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasUserInputTokenDistribution
public boolean hasUserInputTokenDistribution()Output only. Dataset distributions for the user input tokens.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUserInputTokenDistributionin interfaceDatasetStatsOrBuilder- Returns:
- Whether the userInputTokenDistribution field is set.
-
getUserInputTokenDistribution
Output only. Dataset distributions for the user input tokens.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserInputTokenDistributionin interfaceDatasetStatsOrBuilder- Returns:
- The userInputTokenDistribution.
-
setUserInputTokenDistribution
Output only. Dataset distributions for the user input tokens.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUserInputTokenDistribution
public DatasetStats.Builder setUserInputTokenDistribution(DatasetDistribution.Builder builderForValue) Output only. Dataset distributions for the user input tokens.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUserInputTokenDistribution
Output only. Dataset distributions for the user input tokens.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUserInputTokenDistribution
Output only. Dataset distributions for the user input tokens.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserInputTokenDistributionBuilder
Output only. Dataset distributions for the user input tokens.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserInputTokenDistributionOrBuilder
Output only. Dataset distributions for the user input tokens.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserInputTokenDistributionOrBuilderin interfaceDatasetStatsOrBuilder
-
hasUserOutputTokenDistribution
public boolean hasUserOutputTokenDistribution()Output only. Dataset distributions for the user output tokens.
optional .google.cloud.aiplatform.v1beta1.DatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUserOutputTokenDistributionin interfaceDatasetStatsOrBuilder- Returns:
- Whether the userOutputTokenDistribution field is set.
-
getUserOutputTokenDistribution
Output only. Dataset distributions for the user output tokens.
optional .google.cloud.aiplatform.v1beta1.DatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserOutputTokenDistributionin interfaceDatasetStatsOrBuilder- Returns:
- The userOutputTokenDistribution.
-
setUserOutputTokenDistribution
Output only. Dataset distributions for the user output tokens.
optional .google.cloud.aiplatform.v1beta1.DatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUserOutputTokenDistribution
public DatasetStats.Builder setUserOutputTokenDistribution(DatasetDistribution.Builder builderForValue) Output only. Dataset distributions for the user output tokens.
optional .google.cloud.aiplatform.v1beta1.DatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUserOutputTokenDistribution
Output only. Dataset distributions for the user output tokens.
optional .google.cloud.aiplatform.v1beta1.DatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUserOutputTokenDistribution
Output only. Dataset distributions for the user output tokens.
optional .google.cloud.aiplatform.v1beta1.DatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserOutputTokenDistributionBuilder
Output only. Dataset distributions for the user output tokens.
optional .google.cloud.aiplatform.v1beta1.DatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserOutputTokenDistributionOrBuilder
Output only. Dataset distributions for the user output tokens.
optional .google.cloud.aiplatform.v1beta1.DatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserOutputTokenDistributionOrBuilderin interfaceDatasetStatsOrBuilder
-
hasUserMessagePerExampleDistribution
public boolean hasUserMessagePerExampleDistribution()Output only. Dataset distributions for the messages per example.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUserMessagePerExampleDistributionin interfaceDatasetStatsOrBuilder- Returns:
- Whether the userMessagePerExampleDistribution field is set.
-
getUserMessagePerExampleDistribution
Output only. Dataset distributions for the messages per example.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserMessagePerExampleDistributionin interfaceDatasetStatsOrBuilder- Returns:
- The userMessagePerExampleDistribution.
-
setUserMessagePerExampleDistribution
Output only. Dataset distributions for the messages per example.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUserMessagePerExampleDistribution
public DatasetStats.Builder setUserMessagePerExampleDistribution(DatasetDistribution.Builder builderForValue) Output only. Dataset distributions for the messages per example.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUserMessagePerExampleDistribution
Output only. Dataset distributions for the messages per example.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUserMessagePerExampleDistribution
Output only. Dataset distributions for the messages per example.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserMessagePerExampleDistributionBuilder
Output only. Dataset distributions for the messages per example.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserMessagePerExampleDistributionOrBuilder
Output only. Dataset distributions for the messages per example.
.google.cloud.aiplatform.v1beta1.DatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserMessagePerExampleDistributionOrBuilderin interfaceDatasetStatsOrBuilder
-
getUserDatasetExamplesList
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserDatasetExamplesListin interfaceDatasetStatsOrBuilder
-
getUserDatasetExamplesCount
public int getUserDatasetExamplesCount()Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserDatasetExamplesCountin interfaceDatasetStatsOrBuilder
-
getUserDatasetExamples
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserDatasetExamplesin interfaceDatasetStatsOrBuilder
-
setUserDatasetExamples
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUserDatasetExamples
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addUserDatasetExamples
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addUserDatasetExamples
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addUserDatasetExamples
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addUserDatasetExamples
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllUserDatasetExamples
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUserDatasetExamples
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeUserDatasetExamples
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserDatasetExamplesBuilder
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserDatasetExamplesOrBuilder
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserDatasetExamplesOrBuilderin interfaceDatasetStatsOrBuilder
-
getUserDatasetExamplesOrBuilderList
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUserDatasetExamplesOrBuilderListin interfaceDatasetStatsOrBuilder
-
addUserDatasetExamplesBuilder
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addUserDatasetExamplesBuilder
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUserDatasetExamplesBuilderList
Output only. Sample user messages in the training dataset uri.
repeated .google.cloud.aiplatform.v1beta1.Content user_dataset_examples = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-