Class TaskDescriptionStrategy.Builder (3.88.0)

public static final class TaskDescriptionStrategy.Builder extends GeneratedMessage.Builder<TaskDescriptionStrategy.Builder> implements TaskDescriptionStrategyOrBuilder

Defines a generation strategy based on a high-level task description.

Protobuf type google.cloud.aiplatform.v1.TaskDescriptionStrategy

Static Methods

getDescriptor()

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

Methods

build()

public TaskDescriptionStrategy build()
Returns
Type Description
TaskDescriptionStrategy

buildPartial()

public TaskDescriptionStrategy buildPartial()
Returns
Type Description
TaskDescriptionStrategy

clear()

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

clearTaskDescription()

public TaskDescriptionStrategy.Builder clearTaskDescription()

Required. A high-level description of the synthetic data to be generated.

string task_description = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TaskDescriptionStrategy.Builder

This builder for chaining.

getDefaultInstanceForType()

public TaskDescriptionStrategy getDefaultInstanceForType()
Returns
Type Description
TaskDescriptionStrategy

getDescriptorForType()

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

getTaskDescription()

public String getTaskDescription()

Required. A high-level description of the synthetic data to be generated.

string task_description = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The taskDescription.

getTaskDescriptionBytes()

public ByteString getTaskDescriptionBytes()

Required. A high-level description of the synthetic data to be generated.

string task_description = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for taskDescription.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TaskDescriptionStrategy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setTaskDescription(String value)

public TaskDescriptionStrategy.Builder setTaskDescription(String value)

Required. A high-level description of the synthetic data to be generated.

string task_description = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The taskDescription to set.

Returns
Type Description
TaskDescriptionStrategy.Builder

This builder for chaining.

setTaskDescriptionBytes(ByteString value)

public TaskDescriptionStrategy.Builder setTaskDescriptionBytes(ByteString value)

Required. A high-level description of the synthetic data to be generated.

string task_description = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for taskDescription to set.

Returns
Type Description
TaskDescriptionStrategy.Builder

This builder for chaining.