Class PageInfo (0.13.0)

public final class PageInfo extends GeneratedMessageV3 implements PageInfoOrBuilder

Represents page information communicated to and from the webhook.

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

Implements

PageInfoOrBuilder

Static Fields

CURRENT_PAGE_FIELD_NUMBER

public static final int CURRENT_PAGE_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

FORM_INFO_FIELD_NUMBER

public static final int FORM_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PageInfo getDefaultInstance()
Returns
TypeDescription
PageInfo

getDescriptor()

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

newBuilder()

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

newBuilder(PageInfo prototype)

public static PageInfo.Builder newBuilder(PageInfo prototype)
Parameter
NameDescription
prototypePageInfo
Returns
TypeDescription
PageInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for currentPage.

getDefaultInstanceForType()

public PageInfo getDefaultInstanceForType()
Returns
TypeDescription
PageInfo

getDisplayName()

public String getDisplayName()

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

string display_name = 4;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for displayName.

getFormInfo()

public PageInfo.FormInfo getFormInfo()

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

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

Returns
TypeDescription
PageInfo.FormInfo

The formInfo.

getFormInfoOrBuilder()

public PageInfo.FormInfoOrBuilder getFormInfoOrBuilder()

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

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

Returns
TypeDescription
PageInfo.FormInfoOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasFormInfo()

public boolean hasFormInfo()

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

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

Returns
TypeDescription
boolean

Whether the formInfo field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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