Class Generator (4.58.0)

public final class Generator extends GeneratedMessageV3 implements GeneratorOrBuilder

LLM generator.

Protobuf type google.cloud.dialogflow.v2beta1.Generator

Implements

GeneratorOrBuilder

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

INFERENCE_PARAMETER_FIELD_NUMBER

public static final int INFERENCE_PARAMETER_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SUMMARIZATION_CONTEXT_FIELD_NUMBER

public static final int SUMMARIZATION_CONTEXT_FIELD_NUMBER
Field Value
Type Description
int

TRIGGER_EVENT_FIELD_NUMBER

public static final int TRIGGER_EVENT_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Generator getDefaultInstance()
Returns
Type Description
Generator

getDescriptor()

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

newBuilder()

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

newBuilder(Generator prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getContextCase()

public Generator.ContextCase getContextCase()
Returns
Type Description
Generator.ContextCase

getCreateTime()

public Timestamp getCreateTime()

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Generator getDefaultInstanceForType()
Returns
Type Description
Generator

getDescription()

public String getDescription()

Optional. Human readable description of the generator.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Human readable description of the generator.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getInferenceParameter()

public InferenceParameter getInferenceParameter()

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InferenceParameter

The inferenceParameter.

getInferenceParameterOrBuilder()

public InferenceParameterOrBuilder getInferenceParameterOrBuilder()

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InferenceParameterOrBuilder

getName()

public String getName()

Output only. Identifier. The resource name of the generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Identifier. The resource name of the generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>

string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSummarizationContext()

public SummarizationContext getSummarizationContext()

Input of prebuilt Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Returns
Type Description
SummarizationContext

The summarizationContext.

getSummarizationContextOrBuilder()

public SummarizationContextOrBuilder getSummarizationContextOrBuilder()

Input of prebuilt Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Returns
Type Description
SummarizationContextOrBuilder

getTriggerEvent()

public TriggerEvent getTriggerEvent()

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.

.google.cloud.dialogflow.v2beta1.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TriggerEvent

The triggerEvent.

getTriggerEventValue()

public int getTriggerEventValue()

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.

.google.cloud.dialogflow.v2beta1.TriggerEvent trigger_event = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for triggerEvent.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Creation time of this generator.

.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasInferenceParameter()

public boolean hasInferenceParameter()

Optional. Inference parameters for this generator.

.google.cloud.dialogflow.v2beta1.InferenceParameter inference_parameter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the inferenceParameter field is set.

hasSummarizationContext()

public boolean hasSummarizationContext()

Input of prebuilt Summarization feature.

.google.cloud.dialogflow.v2beta1.SummarizationContext summarization_context = 13;

Returns
Type Description
boolean

Whether the summarizationContext field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Update time of this generator.

.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime 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 Generator.Builder newBuilderForType()
Returns
Type Description
Generator.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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