Class BatchCreateMessagesResponse (4.6.0)

public final class BatchCreateMessagesResponse extends GeneratedMessageV3 implements BatchCreateMessagesResponseOrBuilder

The request message for [Conversations.BatchCreateMessagesResponse][].

Protobuf type google.cloud.dialogflow.v2beta1.BatchCreateMessagesResponse

Static Fields

MESSAGES_FIELD_NUMBER

public static final int MESSAGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchCreateMessagesResponse getDefaultInstance()
Returns
TypeDescription
BatchCreateMessagesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchCreateMessagesResponse.Builder newBuilder()
Returns
TypeDescription
BatchCreateMessagesResponse.Builder

newBuilder(BatchCreateMessagesResponse prototype)

public static BatchCreateMessagesResponse.Builder newBuilder(BatchCreateMessagesResponse prototype)
Parameter
NameDescription
prototypeBatchCreateMessagesResponse
Returns
TypeDescription
BatchCreateMessagesResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchCreateMessagesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMessagesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchCreateMessagesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMessagesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchCreateMessagesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMessagesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchCreateMessagesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMessagesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchCreateMessagesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMessagesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchCreateMessagesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMessagesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateMessagesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchCreateMessagesResponse> parser()
Returns
TypeDescription
Parser<BatchCreateMessagesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BatchCreateMessagesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateMessagesResponse

getMessages(int index)

public Message getMessages(int index)

Messages created.

repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Message

getMessagesCount()

public int getMessagesCount()

Messages created.

repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;

Returns
TypeDescription
int

getMessagesList()

public List<Message> getMessagesList()

Messages created.

repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;

Returns
TypeDescription
List<Message>

getMessagesOrBuilder(int index)

public MessageOrBuilder getMessagesOrBuilder(int index)

Messages created.

repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
MessageOrBuilder

getMessagesOrBuilderList()

public List<? extends MessageOrBuilder> getMessagesOrBuilderList()

Messages created.

repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.MessageOrBuilder>

getParserForType()

public Parser<BatchCreateMessagesResponse> getParserForType()
Returns
TypeDescription
Parser<BatchCreateMessagesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchCreateMessagesResponse.Builder newBuilderForType()
Returns
TypeDescription
BatchCreateMessagesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchCreateMessagesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchCreateMessagesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchCreateMessagesResponse.Builder toBuilder()
Returns
TypeDescription
BatchCreateMessagesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException