Class ListSessionEntityTypesResponse (4.6.0)

public final class ListSessionEntityTypesResponse extends GeneratedMessageV3 implements ListSessionEntityTypesResponseOrBuilder

The response message for SessionEntityTypes.ListSessionEntityTypes.

Protobuf type google.cloud.dialogflow.v2.ListSessionEntityTypesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListSessionEntityTypesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SESSION_ENTITY_TYPES_FIELD_NUMBER

public static final int SESSION_ENTITY_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListSessionEntityTypesResponse getDefaultInstance()
Returns
TypeDescription
ListSessionEntityTypesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListSessionEntityTypesResponse prototype)

public static ListSessionEntityTypesResponse.Builder newBuilder(ListSessionEntityTypesResponse prototype)
Parameter
NameDescription
prototypeListSessionEntityTypesResponse
Returns
TypeDescription
ListSessionEntityTypesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListSessionEntityTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListSessionEntityTypesResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSessionEntityTypes(int index)

public SessionEntityType getSessionEntityTypes(int index)

The list of session entity types. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SessionEntityType

getSessionEntityTypesCount()

public int getSessionEntityTypesCount()

The list of session entity types. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;

Returns
TypeDescription
int

getSessionEntityTypesList()

public List<SessionEntityType> getSessionEntityTypesList()

The list of session entity types. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;

Returns
TypeDescription
List<SessionEntityType>

getSessionEntityTypesOrBuilder(int index)

public SessionEntityTypeOrBuilder getSessionEntityTypesOrBuilder(int index)

The list of session entity types. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SessionEntityTypeOrBuilder

getSessionEntityTypesOrBuilderList()

public List<? extends SessionEntityTypeOrBuilder> getSessionEntityTypesOrBuilderList()

The list of session entity types. There will be a maximum number of items returned based on the page_size field in the request.

repeated .google.cloud.dialogflow.v2.SessionEntityType session_entity_types = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.SessionEntityTypeOrBuilder>

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 ListSessionEntityTypesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListSessionEntityTypesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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