public static final class PageInfo.Builder extends GeneratedMessageV3.Builder<PageInfo.Builder> implements PageInfoOrBuilder
Represents page information communicated to and from the webhook.
Protobuf type google.cloud.dialogflow.cx.v3beta1.PageInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PageInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public PageInfo buildPartial()
clear()
public PageInfo.Builder clear()
Overrides
clearCurrentPage()
public PageInfo.Builder clearCurrentPage()
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) = { ... }
clearDisplayName()
public PageInfo.Builder clearDisplayName()
Always present for
WebhookRequest.
Ignored for
WebhookResponse. The
display name of the current page.
string display_name = 4;
clearField(Descriptors.FieldDescriptor field)
public PageInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFormInfo()
public PageInfo.Builder clearFormInfo()
Optional for both
WebhookRequest and
WebhookResponse.
Information about the form.
.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo form_info = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public PageInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public PageInfo.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getFormInfoBuilder()
public PageInfo.FormInfo.Builder getFormInfoBuilder()
Optional for both
WebhookRequest and
WebhookResponse.
Information about the form.
.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo form_info = 3;
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFormInfo(PageInfo.FormInfo value)
public PageInfo.Builder mergeFormInfo(PageInfo.FormInfo value)
Optional for both
WebhookRequest and
WebhookResponse.
Information about the form.
.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo form_info = 3;
mergeFrom(PageInfo other)
public PageInfo.Builder mergeFrom(PageInfo other)
Parameter |
Name |
Description |
other |
PageInfo
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PageInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PageInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PageInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCurrentPage(String value)
public PageInfo.Builder setCurrentPage(String value)
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) = { ... }
Parameter |
Name |
Description |
value |
String
The currentPage to set.
|
setCurrentPageBytes(ByteString value)
public PageInfo.Builder setCurrentPageBytes(ByteString value)
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) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for currentPage to set.
|
setDisplayName(String value)
public PageInfo.Builder setDisplayName(String value)
Always present for
WebhookRequest.
Ignored for
WebhookResponse. The
display name of the current page.
string display_name = 4;
Parameter |
Name |
Description |
value |
String
The displayName to set.
|
setDisplayNameBytes(ByteString value)
public PageInfo.Builder setDisplayNameBytes(ByteString value)
Always present for
WebhookRequest.
Ignored for
WebhookResponse. The
display name of the current page.
string display_name = 4;
Parameter |
Name |
Description |
value |
ByteString
The bytes for displayName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PageInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFormInfo(PageInfo.FormInfo value)
public PageInfo.Builder setFormInfo(PageInfo.FormInfo value)
Optional for both
WebhookRequest and
WebhookResponse.
Information about the form.
.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo form_info = 3;
setFormInfo(PageInfo.FormInfo.Builder builderForValue)
public PageInfo.Builder setFormInfo(PageInfo.FormInfo.Builder builderForValue)
Optional for both
WebhookRequest and
WebhookResponse.
Information about the form.
.google.cloud.dialogflow.cx.v3beta1.PageInfo.FormInfo form_info = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PageInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PageInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides