Class PageInfo (0.56.0)

public final class PageInfo extends GeneratedMessageV3 implements PageInfoOrBuilder

Represents page information communicated to and from the webhook.

Protobuf type google.cloud.dialogflow.cx.v3.PageInfo

Implements

PageInfoOrBuilder

Static Fields

CURRENT_PAGE_FIELD_NUMBER

public static final int CURRENT_PAGE_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

FORM_INFO_FIELD_NUMBER

public static final int FORM_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PageInfo getDefaultInstance()
Returns
Type Description
PageInfo

getDescriptor()

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

newBuilder()

public static PageInfo.Builder newBuilder()
Returns
Type Description
PageInfo.Builder

newBuilder(PageInfo prototype)

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

parseDelimitedFrom(InputStream input)

public static PageInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PageInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static PageInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static PageInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PageInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static PageInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PageInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static PageInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<PageInfo> parser()
Returns
Type Description
Parser<PageInfo>

Methods

equals(Object obj)

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

getCurrentPage()

public String getCurrentPage()

Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the current page. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

string current_page = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The currentPage.

getCurrentPageBytes()

public ByteString getCurrentPageBytes()

Always present for WebhookRequest. Ignored for WebhookResponse. The unique identifier of the current page. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

string current_page = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for currentPage.

getDefaultInstanceForType()

public PageInfo getDefaultInstanceForType()
Returns
Type Description
PageInfo

getDisplayName()

public String getDisplayName()

Always present for WebhookRequest. Ignored for WebhookResponse. The display name of the current page.

string display_name = 4;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Always present for WebhookRequest. Ignored for WebhookResponse. The display name of the current page.

string display_name = 4;

Returns
Type Description
ByteString

The bytes for displayName.

getFormInfo()

public PageInfo.FormInfo getFormInfo()

Optional for both WebhookRequest and WebhookResponse. Information about the form.

.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;

Returns
Type Description
PageInfo.FormInfo

The formInfo.

getFormInfoOrBuilder()

public PageInfo.FormInfoOrBuilder getFormInfoOrBuilder()

Optional for both WebhookRequest and WebhookResponse. Information about the form.

.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;

Returns
Type Description
PageInfo.FormInfoOrBuilder

getParserForType()

public Parser<PageInfo> getParserForType()
Returns
Type Description
Parser<PageInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasFormInfo()

public boolean hasFormInfo()

Optional for both WebhookRequest and WebhookResponse. Information about the form.

.google.cloud.dialogflow.cx.v3.PageInfo.FormInfo form_info = 3;

Returns
Type Description
boolean

Whether the formInfo field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public PageInfo.Builder toBuilder()
Returns
Type Description
PageInfo.Builder

writeTo(CodedOutputStream output)

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