public final class BatchCreateMessagesRequest extends GeneratedMessageV3 implements BatchCreateMessagesRequestOrBuilder
The request message for [Conversations.BatchCreateMessagesRequest][].
Protobuf type google.cloud.dialogflow.v2beta1.BatchCreateMessagesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REQUESTS_FIELD_NUMBER
public static final int REQUESTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BatchCreateMessagesRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BatchCreateMessagesRequest.Builder newBuilder()
newBuilder(BatchCreateMessagesRequest prototype)
public static BatchCreateMessagesRequest.Builder newBuilder(BatchCreateMessagesRequest prototype)
public static BatchCreateMessagesRequest parseDelimitedFrom(InputStream input)
public static BatchCreateMessagesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BatchCreateMessagesRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateMessagesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BatchCreateMessagesRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateMessagesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateMessagesRequest parseFrom(CodedInputStream input)
public static BatchCreateMessagesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BatchCreateMessagesRequest parseFrom(InputStream input)
public static BatchCreateMessagesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BatchCreateMessagesRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchCreateMessagesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BatchCreateMessagesRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public BatchCreateMessagesRequest getDefaultInstanceForType()
getParent()
public String getParent()
Required. Resource identifier of the conversation to create message.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Resource identifier of the conversation to create message.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getParserForType()
public Parser<BatchCreateMessagesRequest> getParserForType()
Overrides
getRequests(int index)
public CreateMessageRequest getRequests(int index)
Required. A maximum of 300 messages can be created in a batch.
[CreateMessageRequest.message.send_time][] is required. All created
messages will have identical
Message.create_time.
repeated .google.cloud.dialogflow.v2beta1.CreateMessageRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsCount()
public int getRequestsCount()
Required. A maximum of 300 messages can be created in a batch.
[CreateMessageRequest.message.send_time][] is required. All created
messages will have identical
Message.create_time.
repeated .google.cloud.dialogflow.v2beta1.CreateMessageRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getRequestsList()
public List<CreateMessageRequest> getRequestsList()
Required. A maximum of 300 messages can be created in a batch.
[CreateMessageRequest.message.send_time][] is required. All created
messages will have identical
Message.create_time.
repeated .google.cloud.dialogflow.v2beta1.CreateMessageRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
getRequestsOrBuilder(int index)
public CreateMessageRequestOrBuilder getRequestsOrBuilder(int index)
Required. A maximum of 300 messages can be created in a batch.
[CreateMessageRequest.message.send_time][] is required. All created
messages will have identical
Message.create_time.
repeated .google.cloud.dialogflow.v2beta1.CreateMessageRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRequestsOrBuilderList()
public List<? extends CreateMessageRequestOrBuilder> getRequestsOrBuilderList()
Required. A maximum of 300 messages can be created in a batch.
[CreateMessageRequest.message.send_time][] is required. All created
messages will have identical
Message.create_time.
repeated .google.cloud.dialogflow.v2beta1.CreateMessageRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.CreateMessageRequestOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BatchCreateMessagesRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchCreateMessagesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BatchCreateMessagesRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides