Class Rubric.Content.Property.Builder (3.100.0)

public static final class Rubric.Content.Property.Builder extends GeneratedMessage.Builder<Rubric.Content.Property.Builder> implements Rubric.Content.PropertyOrBuilder

Defines criteria based on a specific property.

Protobuf type google.cloud.aiplatform.v1beta1.Rubric.Content.Property

Static Methods

getDescriptor()

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

Methods

build()

public Rubric.Content.Property build()
Returns
Type Description
Rubric.Content.Property

buildPartial()

public Rubric.Content.Property buildPartial()
Returns
Type Description
Rubric.Content.Property

clear()

public Rubric.Content.Property.Builder clear()
Returns
Type Description
Rubric.Content.Property.Builder
Overrides

clearDescription()

public Rubric.Content.Property.Builder clearDescription()

Description of the property being evaluated. Example: "The model's response is grammatically correct."

string description = 1;

Returns
Type Description
Rubric.Content.Property.Builder

This builder for chaining.

getDefaultInstanceForType()

public Rubric.Content.Property getDefaultInstanceForType()
Returns
Type Description
Rubric.Content.Property

getDescription()

public String getDescription()

Description of the property being evaluated. Example: "The model's response is grammatically correct."

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the property being evaluated. Example: "The model's response is grammatically correct."

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Rubric.Content.Property other)

public Rubric.Content.Property.Builder mergeFrom(Rubric.Content.Property other)
Parameter
Name Description
other Rubric.Content.Property
Returns
Type Description
Rubric.Content.Property.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Rubric.Content.Property.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Rubric.Content.Property.Builder
Overrides

setDescription(String value)

public Rubric.Content.Property.Builder setDescription(String value)

Description of the property being evaluated. Example: "The model's response is grammatically correct."

string description = 1;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Rubric.Content.Property.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Rubric.Content.Property.Builder setDescriptionBytes(ByteString value)

Description of the property being evaluated. Example: "The model's response is grammatically correct."

string description = 1;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Rubric.Content.Property.Builder

This builder for chaining.