Class GeneratorSuggestion (4.55.0)

public final class GeneratorSuggestion extends GeneratedMessageV3 implements GeneratorSuggestionOrBuilder

Suggestion generated using a Generator.

Protobuf type google.cloud.dialogflow.v2beta1.GeneratorSuggestion

Static Fields

SUMMARY_SUGGESTION_FIELD_NUMBER

public static final int SUMMARY_SUGGESTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GeneratorSuggestion getDefaultInstance()
Returns
Type Description
GeneratorSuggestion

getDescriptor()

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

newBuilder()

public static GeneratorSuggestion.Builder newBuilder()
Returns
Type Description
GeneratorSuggestion.Builder

newBuilder(GeneratorSuggestion prototype)

public static GeneratorSuggestion.Builder newBuilder(GeneratorSuggestion prototype)
Parameter
Name Description
prototype GeneratorSuggestion
Returns
Type Description
GeneratorSuggestion.Builder

parseDelimitedFrom(InputStream input)

public static GeneratorSuggestion parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GeneratorSuggestion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GeneratorSuggestion parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GeneratorSuggestion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GeneratorSuggestion parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GeneratorSuggestion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GeneratorSuggestion parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GeneratorSuggestion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GeneratorSuggestion parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GeneratorSuggestion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GeneratorSuggestion parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GeneratorSuggestion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GeneratorSuggestion
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GeneratorSuggestion> parser()
Returns
Type Description
Parser<GeneratorSuggestion>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GeneratorSuggestion getDefaultInstanceForType()
Returns
Type Description
GeneratorSuggestion

getParserForType()

public Parser<GeneratorSuggestion> getParserForType()
Returns
Type Description
Parser<GeneratorSuggestion>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GeneratorSuggestion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GeneratorSuggestion.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException