Class GeneratorSuggestion.Builder (4.60.0)

public static final class GeneratorSuggestion.Builder extends GeneratedMessageV3.Builder<GeneratorSuggestion.Builder> implements GeneratorSuggestionOrBuilder

Suggestion generated using a Generator.

Protobuf type google.cloud.dialogflow.v2beta1.GeneratorSuggestion

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GeneratorSuggestion build()
Returns
Type Description
GeneratorSuggestion

buildPartial()

public GeneratorSuggestion buildPartial()
Returns
Type Description
GeneratorSuggestion

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSuggestion()

public GeneratorSuggestion.Builder clearSuggestion()
Returns
Type Description
GeneratorSuggestion.Builder

clearSummarySuggestion()

public GeneratorSuggestion.Builder clearSummarySuggestion()

Optional. Suggested summary.

.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GeneratorSuggestion.Builder

clone()

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

getDefaultInstanceForType()

public GeneratorSuggestion getDefaultInstanceForType()
Returns
Type Description
GeneratorSuggestion

getDescriptorForType()

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

getSuggestionCase()

public GeneratorSuggestion.SuggestionCase getSuggestionCase()
Returns
Type Description
GeneratorSuggestion.SuggestionCase

getSummarySuggestion()

public SummarySuggestion getSummarySuggestion()

Optional. Suggested summary.

.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SummarySuggestion

The summarySuggestion.

getSummarySuggestionBuilder()

public SummarySuggestion.Builder getSummarySuggestionBuilder()

Optional. Suggested summary.

.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SummarySuggestion.Builder

getSummarySuggestionOrBuilder()

public SummarySuggestionOrBuilder getSummarySuggestionOrBuilder()

Optional. Suggested summary.

.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SummarySuggestionOrBuilder

hasSummarySuggestion()

public boolean hasSummarySuggestion()

Optional. Suggested summary.

.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the summarySuggestion field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GeneratorSuggestion other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSummarySuggestion(SummarySuggestion value)

public GeneratorSuggestion.Builder mergeSummarySuggestion(SummarySuggestion value)

Optional. Suggested summary.

.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SummarySuggestion
Returns
Type Description
GeneratorSuggestion.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSummarySuggestion(SummarySuggestion value)

public GeneratorSuggestion.Builder setSummarySuggestion(SummarySuggestion value)

Optional. Suggested summary.

.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SummarySuggestion
Returns
Type Description
GeneratorSuggestion.Builder

setSummarySuggestion(SummarySuggestion.Builder builderForValue)

public GeneratorSuggestion.Builder setSummarySuggestion(SummarySuggestion.Builder builderForValue)

Optional. Suggested summary.

.google.cloud.dialogflow.v2beta1.SummarySuggestion summary_suggestion = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SummarySuggestion.Builder
Returns
Type Description
GeneratorSuggestion.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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