Class DataStoreConnectionSignals.GroundingSignals.Builder (0.51.0)

public static final class DataStoreConnectionSignals.GroundingSignals.Builder extends GeneratedMessageV3.Builder<DataStoreConnectionSignals.GroundingSignals.Builder> implements DataStoreConnectionSignals.GroundingSignalsOrBuilder

Grounding signals.

Protobuf type google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataStoreConnectionSignals.GroundingSignals build()
Returns
Type Description
DataStoreConnectionSignals.GroundingSignals

buildPartial()

public DataStoreConnectionSignals.GroundingSignals buildPartial()
Returns
Type Description
DataStoreConnectionSignals.GroundingSignals

clear()

public DataStoreConnectionSignals.GroundingSignals.Builder clear()
Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.Builder
Overrides

clearDecision()

public DataStoreConnectionSignals.GroundingSignals.Builder clearDecision()

Represents the decision of the grounding check.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals.GroundingDecision decision = 1;

Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScore()

public DataStoreConnectionSignals.GroundingSignals.Builder clearScore()

Grounding score bucket setting.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket score = 2;

Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.Builder

This builder for chaining.

clone()

public DataStoreConnectionSignals.GroundingSignals.Builder clone()
Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.Builder
Overrides

getDecision()

public DataStoreConnectionSignals.GroundingSignals.GroundingDecision getDecision()

Represents the decision of the grounding check.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals.GroundingDecision decision = 1;

Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.GroundingDecision

The decision.

getDecisionValue()

public int getDecisionValue()

Represents the decision of the grounding check.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals.GroundingDecision decision = 1;

Returns
Type Description
int

The enum numeric value on the wire for decision.

getDefaultInstanceForType()

public DataStoreConnectionSignals.GroundingSignals getDefaultInstanceForType()
Returns
Type Description
DataStoreConnectionSignals.GroundingSignals

getDescriptorForType()

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

getScore()

public DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket getScore()

Grounding score bucket setting.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket score = 2;

Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket

The score.

getScoreValue()

public int getScoreValue()

Grounding score bucket setting.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket score = 2;

Returns
Type Description
int

The enum numeric value on the wire for score.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataStoreConnectionSignals.GroundingSignals other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDecision(DataStoreConnectionSignals.GroundingSignals.GroundingDecision value)

public DataStoreConnectionSignals.GroundingSignals.Builder setDecision(DataStoreConnectionSignals.GroundingSignals.GroundingDecision value)

Represents the decision of the grounding check.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals.GroundingDecision decision = 1;

Parameter
Name Description
value DataStoreConnectionSignals.GroundingSignals.GroundingDecision

The decision to set.

Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.Builder

This builder for chaining.

setDecisionValue(int value)

public DataStoreConnectionSignals.GroundingSignals.Builder setDecisionValue(int value)

Represents the decision of the grounding check.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals.GroundingDecision decision = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for decision to set.

Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setScore(DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket value)

public DataStoreConnectionSignals.GroundingSignals.Builder setScore(DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket value)

Grounding score bucket setting.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket score = 2;

Parameter
Name Description
value DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket

The score to set.

Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.Builder

This builder for chaining.

setScoreValue(int value)

public DataStoreConnectionSignals.GroundingSignals.Builder setScoreValue(int value)

Grounding score bucket setting.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.GroundingSignals.GroundingScoreBucket score = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for score to set.

Returns
Type Description
DataStoreConnectionSignals.GroundingSignals.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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