public static final class Conversation.GeneratorContext extends GeneratedMessage implements Conversation.GeneratorContextOrBuilderRepresents the context of a generator.
Protobuf type google.cloud.dialogflow.v2.Conversation.GeneratorContext
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Conversation.GeneratorContextImplements
Conversation.GeneratorContextOrBuilderStatic Fields
GENERATOR_TYPE_FIELD_NUMBER
public static final int GENERATOR_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Conversation.GeneratorContext getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Conversation.GeneratorContext.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext.Builder |
|
newBuilder(Conversation.GeneratorContext prototype)
public static Conversation.GeneratorContext.Builder newBuilder(Conversation.GeneratorContext prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Conversation.GeneratorContext |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext.Builder |
|
parseDelimitedFrom(InputStream input)
public static Conversation.GeneratorContext parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Conversation.GeneratorContext parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Conversation.GeneratorContext parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Conversation.GeneratorContext parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Conversation.GeneratorContext parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Conversation.GeneratorContext parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Conversation.GeneratorContext parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Conversation.GeneratorContext parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Conversation.GeneratorContext parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Conversation.GeneratorContext parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Conversation.GeneratorContext parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Conversation.GeneratorContext parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Conversation.GeneratorContext> parser()| Returns | |
|---|---|
| Type | Description |
Parser<GeneratorContext> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Conversation.GeneratorContext getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext |
|
getGeneratorType()
public Conversation.GeneratorContext.GeneratorType getGeneratorType()Output only. The type of the generator.
.google.cloud.dialogflow.v2.Conversation.GeneratorContext.GeneratorType generator_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext.GeneratorType |
The generatorType. |
getGeneratorTypeValue()
public int getGeneratorTypeValue()Output only. The type of the generator.
.google.cloud.dialogflow.v2.Conversation.GeneratorContext.GeneratorType generator_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for generatorType. |
getParserForType()
public Parser<Conversation.GeneratorContext> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<GeneratorContext> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Conversation.GeneratorContext.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Conversation.GeneratorContext.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext.Builder |
|
toBuilder()
public Conversation.GeneratorContext.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Conversation.GeneratorContext.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|