Class PageInfo.Builder (0.14.2)

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

Implements

PageInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PageInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PageInfo.Builder
Overrides

build()

public PageInfo build()
Returns
TypeDescription
PageInfo

buildPartial()

public PageInfo buildPartial()
Returns
TypeDescription
PageInfo

clear()

public PageInfo.Builder clear()
Returns
TypeDescription
PageInfo.Builder
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) = { ... }

Returns
TypeDescription
PageInfo.Builder

This builder for chaining.

clearDisplayName()

public PageInfo.Builder clearDisplayName()

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

string display_name = 4;

Returns
TypeDescription
PageInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PageInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PageInfo.Builder
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;

Returns
TypeDescription
PageInfo.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PageInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PageInfo.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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;

Returns
TypeDescription
PageInfo.FormInfo.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
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;

Parameter
NameDescription
valuePageInfo.FormInfo
Returns
TypeDescription
PageInfo.Builder

mergeFrom(PageInfo other)

public PageInfo.Builder mergeFrom(PageInfo other)
Parameter
NameDescription
otherPageInfo
Returns
TypeDescription
PageInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PageInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PageInfo.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PageInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PageInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PageInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PageInfo.Builder
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
NameDescription
valueString

The currentPage to set.

Returns
TypeDescription
PageInfo.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for currentPage to set.

Returns
TypeDescription
PageInfo.Builder

This builder for chaining.

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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
PageInfo.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
PageInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PageInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PageInfo.Builder
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;

Parameter
NameDescription
valuePageInfo.FormInfo
Returns
TypeDescription
PageInfo.Builder

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;

Parameter
NameDescription
builderForValuePageInfo.FormInfo.Builder
Returns
TypeDescription
PageInfo.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PageInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PageInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PageInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PageInfo.Builder
Overrides