Class TuneQaScorecardRevisionRequest.Builder (2.54.0)

public static final class TuneQaScorecardRevisionRequest.Builder extends GeneratedMessageV3.Builder<TuneQaScorecardRevisionRequest.Builder> implements TuneQaScorecardRevisionRequestOrBuilder

Request for TuneQaScorecardRevision endpoint.

Protobuf type google.cloud.contactcenterinsights.v1.TuneQaScorecardRevisionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TuneQaScorecardRevisionRequest build()
Returns
Type Description
TuneQaScorecardRevisionRequest

buildPartial()

public TuneQaScorecardRevisionRequest buildPartial()
Returns
Type Description
TuneQaScorecardRevisionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public TuneQaScorecardRevisionRequest.Builder clearFilter()

Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc.

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TuneQaScorecardRevisionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public TuneQaScorecardRevisionRequest.Builder clearParent()

Required. The parent resource for new fine tuning job instance.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
TuneQaScorecardRevisionRequest.Builder

This builder for chaining.

clearValidateOnly()

public TuneQaScorecardRevisionRequest.Builder clearValidateOnly()

Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TuneQaScorecardRevisionRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public TuneQaScorecardRevisionRequest getDefaultInstanceForType()
Returns
Type Description
TuneQaScorecardRevisionRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc.

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc.

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for filter.

getParent()

public String getParent()

Required. The parent resource for new fine tuning job instance.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource for new fine tuning job instance.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public boolean getValidateOnly()

Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TuneQaScorecardRevisionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public TuneQaScorecardRevisionRequest.Builder setFilter(String value)

Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc.

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
TuneQaScorecardRevisionRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public TuneQaScorecardRevisionRequest.Builder setFilterBytes(ByteString value)

Required. Filter for selecting the feedback labels that needs to be used for training. This filter can be used to limit the feedback labels used for tuning to a feedback labels created or updated for a specific time-window etc.

string filter = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
TuneQaScorecardRevisionRequest.Builder

This builder for chaining.

setParent(String value)

public TuneQaScorecardRevisionRequest.Builder setParent(String value)

Required. The parent resource for new fine tuning job instance.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
TuneQaScorecardRevisionRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public TuneQaScorecardRevisionRequest.Builder setParentBytes(ByteString value)

Required. The parent resource for new fine tuning job instance.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
TuneQaScorecardRevisionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public TuneQaScorecardRevisionRequest.Builder setValidateOnly(boolean value)

Optional. Run in validate only mode, no fine tuning will actually run. Data quality validations like training data distributions will run. Even when set to false, the data quality validations will still run but once the validations complete we will proceed with the fine tune, if applicable.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
TuneQaScorecardRevisionRequest.Builder

This builder for chaining.