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
Inherited Members
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerateStatelessSummaryRequest.MinimalConversation.Builder newBuilder()
newBuilder(GenerateStatelessSummaryRequest.MinimalConversation prototype)
public static GenerateStatelessSummaryRequest.MinimalConversation.Builder newBuilder(GenerateStatelessSummaryRequest.MinimalConversation prototype)
public static GenerateStatelessSummaryRequest.MinimalConversation parseDelimitedFrom(InputStream input)
public static GenerateStatelessSummaryRequest.MinimalConversation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(CodedInputStream input)
public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(InputStream input)
public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateStatelessSummaryRequest.MinimalConversation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerateStatelessSummaryRequest.MinimalConversation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public GenerateStatelessSummaryRequest.MinimalConversation getDefaultInstanceForType()
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
|
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];
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
|
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerateStatelessSummaryRequest.MinimalConversation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateStatelessSummaryRequest.MinimalConversation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GenerateStatelessSummaryRequest.MinimalConversation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides