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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PageInfo.Builder newBuilder()
newBuilder(PageInfo prototype)
public static PageInfo.Builder newBuilder(PageInfo prototype)
Parameter |
Name |
Description |
prototype |
PageInfo
|
parseDelimitedFrom(InputStream input)
public static PageInfo parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PageInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PageInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static PageInfo parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static PageInfo parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PageInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PageInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PageInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
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;
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;
getParserForType()
public Parser<PageInfo> getParserForType()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PageInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PageInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PageInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides