Class SupervisedTuningDataStats.Builder (3.53.0)

public static final class SupervisedTuningDataStats.Builder extends GeneratedMessageV3.Builder<SupervisedTuningDataStats.Builder> implements SupervisedTuningDataStatsOrBuilder

Tuning data statistics for Supervised Tuning.

Protobuf type google.cloud.aiplatform.v1beta1.SupervisedTuningDataStats

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllTruncatedExampleIndices(Iterable<? extends Long> values)

public SupervisedTuningDataStats.Builder addAllTruncatedExampleIndices(Iterable<? extends Long> values)

A partial sample of the indices (starting from 1) of the truncated examples.

repeated int64 truncated_example_indices = 11;

Parameter
Name Description
values Iterable<? extends java.lang.Long>

The truncatedExampleIndices to add.

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

addAllUserDatasetExamples(Iterable<? extends Content> values)

public SupervisedTuningDataStats.Builder addAllUserDatasetExamples(Iterable<? extends Content> values)

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];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Content>
Returns
Type Description
SupervisedTuningDataStats.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SupervisedTuningDataStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides

addTruncatedExampleIndices(long value)

public SupervisedTuningDataStats.Builder addTruncatedExampleIndices(long value)

A partial sample of the indices (starting from 1) of the truncated examples.

repeated int64 truncated_example_indices = 11;

Parameter
Name Description
value long

The truncatedExampleIndices to add.

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

addUserDatasetExamples(Content value)

public SupervisedTuningDataStats.Builder addUserDatasetExamples(Content value)

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];

Parameter
Name Description
value Content
Returns
Type Description
SupervisedTuningDataStats.Builder

addUserDatasetExamples(Content.Builder builderForValue)

public SupervisedTuningDataStats.Builder addUserDatasetExamples(Content.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Content.Builder
Returns
Type Description
SupervisedTuningDataStats.Builder

addUserDatasetExamples(int index, Content value)

public SupervisedTuningDataStats.Builder addUserDatasetExamples(int index, Content value)

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];

Parameters
Name Description
index int
value Content
Returns
Type Description
SupervisedTuningDataStats.Builder

addUserDatasetExamples(int index, Content.Builder builderForValue)

public SupervisedTuningDataStats.Builder addUserDatasetExamples(int index, Content.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Content.Builder
Returns
Type Description
SupervisedTuningDataStats.Builder

addUserDatasetExamplesBuilder()

public Content.Builder 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];

Returns
Type Description
Content.Builder

addUserDatasetExamplesBuilder(int index)

public Content.Builder addUserDatasetExamplesBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Content.Builder

build()

public SupervisedTuningDataStats build()
Returns
Type Description
SupervisedTuningDataStats

buildPartial()

public SupervisedTuningDataStats buildPartial()
Returns
Type Description
SupervisedTuningDataStats

clear()

public SupervisedTuningDataStats.Builder clear()
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SupervisedTuningDataStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SupervisedTuningDataStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides

clearTotalBillableCharacterCount() (deprecated)

public SupervisedTuningDataStats.Builder clearTotalBillableCharacterCount()

Deprecated. google.cloud.aiplatform.v1beta1.SupervisedTuningDataStats.total_billable_character_count is deprecated. See google/cloud/aiplatform/v1beta1/tuning_job.proto;l=229

Output only. Number of billable characters in the tuning dataset.

int64 total_billable_character_count = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

clearTotalBillableTokenCount()

public SupervisedTuningDataStats.Builder clearTotalBillableTokenCount()

Output only. Number of billable tokens in the tuning dataset.

int64 total_billable_token_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

clearTotalTruncatedExampleCount()

public SupervisedTuningDataStats.Builder clearTotalTruncatedExampleCount()

The number of examples in the dataset that have been truncated by any amount.

int64 total_truncated_example_count = 10;

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

clearTotalTuningCharacterCount()

public SupervisedTuningDataStats.Builder clearTotalTuningCharacterCount()

Output only. Number of tuning characters in the tuning dataset.

int64 total_tuning_character_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

clearTruncatedExampleIndices()

public SupervisedTuningDataStats.Builder clearTruncatedExampleIndices()

A partial sample of the indices (starting from 1) of the truncated examples.

repeated int64 truncated_example_indices = 11;

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

clearTuningDatasetExampleCount()

public SupervisedTuningDataStats.Builder clearTuningDatasetExampleCount()

Output only. Number of examples in the tuning dataset.

int64 tuning_dataset_example_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

clearTuningStepCount()

public SupervisedTuningDataStats.Builder clearTuningStepCount()

Output only. Number of tuning steps for this Tuning Job.

int64 tuning_step_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

clearUserDatasetExamples()

public SupervisedTuningDataStats.Builder 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];

Returns
Type Description
SupervisedTuningDataStats.Builder

clearUserInputTokenDistribution()

public SupervisedTuningDataStats.Builder clearUserInputTokenDistribution()

Output only. Dataset distributions for the user input tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDataStats.Builder

clearUserMessagePerExampleDistribution()

public SupervisedTuningDataStats.Builder clearUserMessagePerExampleDistribution()

Output only. Dataset distributions for the messages per example.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDataStats.Builder

clearUserOutputTokenDistribution()

public SupervisedTuningDataStats.Builder clearUserOutputTokenDistribution()

Output only. Dataset distributions for the user output tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDataStats.Builder

clone()

public SupervisedTuningDataStats.Builder clone()
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides

getDefaultInstanceForType()

public SupervisedTuningDataStats getDefaultInstanceForType()
Returns
Type Description
SupervisedTuningDataStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTotalBillableCharacterCount() (deprecated)

public long getTotalBillableCharacterCount()

Deprecated. google.cloud.aiplatform.v1beta1.SupervisedTuningDataStats.total_billable_character_count is deprecated. See google/cloud/aiplatform/v1beta1/tuning_job.proto;l=229

Output only. Number of billable characters in the tuning dataset.

int64 total_billable_character_count = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The totalBillableCharacterCount.

getTotalBillableTokenCount()

public long getTotalBillableTokenCount()

Output only. Number of billable tokens in the tuning dataset.

int64 total_billable_token_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The totalBillableTokenCount.

getTotalTruncatedExampleCount()

public long getTotalTruncatedExampleCount()

The number of examples in the dataset that have been truncated by any amount.

int64 total_truncated_example_count = 10;

Returns
Type Description
long

The totalTruncatedExampleCount.

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];

Returns
Type Description
long

The totalTuningCharacterCount.

getTruncatedExampleIndices(int index)

public long getTruncatedExampleIndices(int index)

A partial sample of the indices (starting from 1) of the truncated examples.

repeated int64 truncated_example_indices = 11;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
long

The truncatedExampleIndices at the given index.

getTruncatedExampleIndicesCount()

public int getTruncatedExampleIndicesCount()

A partial sample of the indices (starting from 1) of the truncated examples.

repeated int64 truncated_example_indices = 11;

Returns
Type Description
int

The count of truncatedExampleIndices.

getTruncatedExampleIndicesList()

public List<Long> getTruncatedExampleIndicesList()

A partial sample of the indices (starting from 1) of the truncated examples.

repeated int64 truncated_example_indices = 11;

Returns
Type Description
List<Long>

A list containing the truncatedExampleIndices.

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];

Returns
Type Description
long

The tuningDatasetExampleCount.

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];

Returns
Type Description
long

The tuningStepCount.

getUserDatasetExamples(int index)

public Content getUserDatasetExamples(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Content

getUserDatasetExamplesBuilder(int index)

public Content.Builder getUserDatasetExamplesBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
Content.Builder

getUserDatasetExamplesBuilderList()

public List<Content.Builder> 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];

Returns
Type Description
List<Builder>

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];

Returns
Type Description
int

getUserDatasetExamplesList()

public List<Content> 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];

Returns
Type Description
List<Content>

getUserDatasetExamplesOrBuilder(int index)

public ContentOrBuilder getUserDatasetExamplesOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
ContentOrBuilder

getUserDatasetExamplesOrBuilderList()

public List<? extends ContentOrBuilder> 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];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ContentOrBuilder>

getUserInputTokenDistribution()

public SupervisedTuningDatasetDistribution getUserInputTokenDistribution()

Output only. Dataset distributions for the user input tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDatasetDistribution

The userInputTokenDistribution.

getUserInputTokenDistributionBuilder()

public SupervisedTuningDatasetDistribution.Builder getUserInputTokenDistributionBuilder()

Output only. Dataset distributions for the user input tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

getUserInputTokenDistributionOrBuilder()

public SupervisedTuningDatasetDistributionOrBuilder getUserInputTokenDistributionOrBuilder()

Output only. Dataset distributions for the user input tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDatasetDistributionOrBuilder

getUserMessagePerExampleDistribution()

public SupervisedTuningDatasetDistribution getUserMessagePerExampleDistribution()

Output only. Dataset distributions for the messages per example.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDatasetDistribution

The userMessagePerExampleDistribution.

getUserMessagePerExampleDistributionBuilder()

public SupervisedTuningDatasetDistribution.Builder getUserMessagePerExampleDistributionBuilder()

Output only. Dataset distributions for the messages per example.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

getUserMessagePerExampleDistributionOrBuilder()

public SupervisedTuningDatasetDistributionOrBuilder getUserMessagePerExampleDistributionOrBuilder()

Output only. Dataset distributions for the messages per example.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDatasetDistributionOrBuilder

getUserOutputTokenDistribution()

public SupervisedTuningDatasetDistribution getUserOutputTokenDistribution()

Output only. Dataset distributions for the user output tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDatasetDistribution

The userOutputTokenDistribution.

getUserOutputTokenDistributionBuilder()

public SupervisedTuningDatasetDistribution.Builder getUserOutputTokenDistributionBuilder()

Output only. Dataset distributions for the user output tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDatasetDistribution.Builder

getUserOutputTokenDistributionOrBuilder()

public SupervisedTuningDatasetDistributionOrBuilder getUserOutputTokenDistributionOrBuilder()

Output only. Dataset distributions for the user output tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SupervisedTuningDatasetDistributionOrBuilder

hasUserInputTokenDistribution()

public boolean hasUserInputTokenDistribution()

Output only. Dataset distributions for the user input tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the userInputTokenDistribution field is set.

hasUserMessagePerExampleDistribution()

public boolean hasUserMessagePerExampleDistribution()

Output only. Dataset distributions for the messages per example.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the userMessagePerExampleDistribution field is set.

hasUserOutputTokenDistribution()

public boolean hasUserOutputTokenDistribution()

Output only. Dataset distributions for the user output tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the userOutputTokenDistribution field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SupervisedTuningDataStats other)

public SupervisedTuningDataStats.Builder mergeFrom(SupervisedTuningDataStats other)
Parameter
Name Description
other SupervisedTuningDataStats
Returns
Type Description
SupervisedTuningDataStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SupervisedTuningDataStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SupervisedTuningDataStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SupervisedTuningDataStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides

mergeUserInputTokenDistribution(SupervisedTuningDatasetDistribution value)

public SupervisedTuningDataStats.Builder mergeUserInputTokenDistribution(SupervisedTuningDatasetDistribution value)

Output only. Dataset distributions for the user input tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SupervisedTuningDatasetDistribution
Returns
Type Description
SupervisedTuningDataStats.Builder

mergeUserMessagePerExampleDistribution(SupervisedTuningDatasetDistribution value)

public SupervisedTuningDataStats.Builder mergeUserMessagePerExampleDistribution(SupervisedTuningDatasetDistribution value)

Output only. Dataset distributions for the messages per example.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SupervisedTuningDatasetDistribution
Returns
Type Description
SupervisedTuningDataStats.Builder

mergeUserOutputTokenDistribution(SupervisedTuningDatasetDistribution value)

public SupervisedTuningDataStats.Builder mergeUserOutputTokenDistribution(SupervisedTuningDatasetDistribution value)

Output only. Dataset distributions for the user output tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SupervisedTuningDatasetDistribution
Returns
Type Description
SupervisedTuningDataStats.Builder

removeUserDatasetExamples(int index)

public SupervisedTuningDataStats.Builder removeUserDatasetExamples(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
SupervisedTuningDataStats.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SupervisedTuningDataStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SupervisedTuningDataStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides

setTotalBillableCharacterCount(long value) (deprecated)

public SupervisedTuningDataStats.Builder setTotalBillableCharacterCount(long value)

Deprecated. google.cloud.aiplatform.v1beta1.SupervisedTuningDataStats.total_billable_character_count is deprecated. See google/cloud/aiplatform/v1beta1/tuning_job.proto;l=229

Output only. Number of billable characters in the tuning dataset.

int64 total_billable_character_count = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The totalBillableCharacterCount to set.

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

setTotalBillableTokenCount(long value)

public SupervisedTuningDataStats.Builder setTotalBillableTokenCount(long value)

Output only. Number of billable tokens in the tuning dataset.

int64 total_billable_token_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The totalBillableTokenCount to set.

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

setTotalTruncatedExampleCount(long value)

public SupervisedTuningDataStats.Builder setTotalTruncatedExampleCount(long value)

The number of examples in the dataset that have been truncated by any amount.

int64 total_truncated_example_count = 10;

Parameter
Name Description
value long

The totalTruncatedExampleCount to set.

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

setTotalTuningCharacterCount(long value)

public SupervisedTuningDataStats.Builder setTotalTuningCharacterCount(long value)

Output only. Number of tuning characters in the tuning dataset.

int64 total_tuning_character_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The totalTuningCharacterCount to set.

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

setTruncatedExampleIndices(int index, long value)

public SupervisedTuningDataStats.Builder setTruncatedExampleIndices(int index, long value)

A partial sample of the indices (starting from 1) of the truncated examples.

repeated int64 truncated_example_indices = 11;

Parameters
Name Description
index int

The index to set the value at.

value long

The truncatedExampleIndices to set.

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

setTuningDatasetExampleCount(long value)

public SupervisedTuningDataStats.Builder setTuningDatasetExampleCount(long value)

Output only. Number of examples in the tuning dataset.

int64 tuning_dataset_example_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The tuningDatasetExampleCount to set.

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

setTuningStepCount(long value)

public SupervisedTuningDataStats.Builder setTuningStepCount(long value)

Output only. Number of tuning steps for this Tuning Job.

int64 tuning_step_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The tuningStepCount to set.

Returns
Type Description
SupervisedTuningDataStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SupervisedTuningDataStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SupervisedTuningDataStats.Builder
Overrides

setUserDatasetExamples(int index, Content value)

public SupervisedTuningDataStats.Builder setUserDatasetExamples(int index, Content value)

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];

Parameters
Name Description
index int
value Content
Returns
Type Description
SupervisedTuningDataStats.Builder

setUserDatasetExamples(int index, Content.Builder builderForValue)

public SupervisedTuningDataStats.Builder setUserDatasetExamples(int index, Content.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Content.Builder
Returns
Type Description
SupervisedTuningDataStats.Builder

setUserInputTokenDistribution(SupervisedTuningDatasetDistribution value)

public SupervisedTuningDataStats.Builder setUserInputTokenDistribution(SupervisedTuningDatasetDistribution value)

Output only. Dataset distributions for the user input tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SupervisedTuningDatasetDistribution
Returns
Type Description
SupervisedTuningDataStats.Builder

setUserInputTokenDistribution(SupervisedTuningDatasetDistribution.Builder builderForValue)

public SupervisedTuningDataStats.Builder setUserInputTokenDistribution(SupervisedTuningDatasetDistribution.Builder builderForValue)

Output only. Dataset distributions for the user input tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_input_token_distribution = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SupervisedTuningDatasetDistribution.Builder
Returns
Type Description
SupervisedTuningDataStats.Builder

setUserMessagePerExampleDistribution(SupervisedTuningDatasetDistribution value)

public SupervisedTuningDataStats.Builder setUserMessagePerExampleDistribution(SupervisedTuningDatasetDistribution value)

Output only. Dataset distributions for the messages per example.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SupervisedTuningDatasetDistribution
Returns
Type Description
SupervisedTuningDataStats.Builder

setUserMessagePerExampleDistribution(SupervisedTuningDatasetDistribution.Builder builderForValue)

public SupervisedTuningDataStats.Builder setUserMessagePerExampleDistribution(SupervisedTuningDatasetDistribution.Builder builderForValue)

Output only. Dataset distributions for the messages per example.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_message_per_example_distribution = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SupervisedTuningDatasetDistribution.Builder
Returns
Type Description
SupervisedTuningDataStats.Builder

setUserOutputTokenDistribution(SupervisedTuningDatasetDistribution value)

public SupervisedTuningDataStats.Builder setUserOutputTokenDistribution(SupervisedTuningDatasetDistribution value)

Output only. Dataset distributions for the user output tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SupervisedTuningDatasetDistribution
Returns
Type Description
SupervisedTuningDataStats.Builder

setUserOutputTokenDistribution(SupervisedTuningDatasetDistribution.Builder builderForValue)

public SupervisedTuningDataStats.Builder setUserOutputTokenDistribution(SupervisedTuningDatasetDistribution.Builder builderForValue)

Output only. Dataset distributions for the user output tokens.

.google.cloud.aiplatform.v1beta1.SupervisedTuningDatasetDistribution user_output_token_distribution = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SupervisedTuningDatasetDistribution.Builder
Returns
Type Description
SupervisedTuningDataStats.Builder