Class GenerateStatelessSummaryRequest.MinimalConversation (4.46.0)

public static final class GenerateStatelessSummaryRequest.MinimalConversation extends GeneratedMessageV3 implements GenerateStatelessSummaryRequest.MinimalConversationOrBuilder

The minimum amount of information required to generate a Summary without having a Conversation resource created.

Protobuf type google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GenerateStatelessSummaryRequest.MinimalConversation

Static Fields

MESSAGES_FIELD_NUMBER

public static final int MESSAGES_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateStatelessSummaryRequest.MinimalConversation getDefaultInstance()
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation

getDescriptor()

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

newBuilder()

public static GenerateStatelessSummaryRequest.MinimalConversation.Builder newBuilder()
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

newBuilder(GenerateStatelessSummaryRequest.MinimalConversation prototype)

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

parseDelimitedFrom(InputStream input)

public static GenerateStatelessSummaryRequest.MinimalConversation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<GenerateStatelessSummaryRequest.MinimalConversation> parser()
Returns
Type Description
Parser<MinimalConversation>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GenerateStatelessSummaryRequest.MinimalConversation getDefaultInstanceForType()
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation

getMessages(int index)

public Message getMessages(int index)

Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.

repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Message

getMessagesCount()

public int getMessagesCount()

Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.

repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getMessagesList()

public List<Message> getMessagesList()

Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.

repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Message>

getMessagesOrBuilder(int index)

public MessageOrBuilder getMessagesOrBuilder(int index)

Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.

repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
MessageOrBuilder

getMessagesOrBuilderList()

public List<? extends MessageOrBuilder> getMessagesOrBuilderList()

Required. The messages that the Summary will be generated from. It is expected that this message content is already redacted and does not contain any PII. Required fields: {content, language_code, participant, participant_role} Optional fields: {send_time} If send_time is not provided, then the messages must be provided in chronological order.

repeated .google.cloud.dialogflow.v2.Message messages = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.MessageOrBuilder>

getParent()

public String getParent()

Required. The parent resource to charge for the Summary's generation. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource to charge for the Summary's generation. Format: projects/<Project ID>/locations/<Location ID>.

string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<GenerateStatelessSummaryRequest.MinimalConversation> getParserForType()
Returns
Type Description
Parser<MinimalConversation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 GenerateStatelessSummaryRequest.MinimalConversation.Builder newBuilderForType()
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public GenerateStatelessSummaryRequest.MinimalConversation.Builder toBuilder()
Returns
Type Description
GenerateStatelessSummaryRequest.MinimalConversation.Builder

writeTo(CodedOutputStream output)

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