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
Static Fields
CURRENT_PAGE_FIELD_NUMBER
public static final int CURRENT_PAGE_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
FORM_INFO_FIELD_NUMBER
public static final int FORM_INFO_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PageInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PageInfo.Builder newBuilder()
Returns
newBuilder(PageInfo prototype)
public static PageInfo.Builder newBuilder(PageInfo prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static PageInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PageInfo parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PageInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static PageInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static PageInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PageInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PageInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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.v3beta1.PageInfo.FormInfo form_info = 3;
Returns
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
getParserForType()
public Parser<PageInfo> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Type |
Description |
boolean |
Whether the formInfo field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PageInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PageInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PageInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions