Class Action.FlowStateUpdate.PageState.Builder (0.94.0)

public static final class Action.FlowStateUpdate.PageState.Builder extends GeneratedMessage.Builder<Action.FlowStateUpdate.PageState.Builder> implements Action.FlowStateUpdate.PageStateOrBuilder

Stores the state of a page and its flow.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Action.FlowStateUpdate.PageState build()
Returns
Type Description
Action.FlowStateUpdate.PageState

buildPartial()

public Action.FlowStateUpdate.PageState buildPartial()
Returns
Type Description
Action.FlowStateUpdate.PageState

clear()

public Action.FlowStateUpdate.PageState.Builder clear()
Returns
Type Description
Action.FlowStateUpdate.PageState.Builder
Overrides

clearDisplayName()

public Action.FlowStateUpdate.PageState.Builder clearDisplayName()

The display name of the page.

string display_name = 2;

Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

This builder for chaining.

clearPage()

public Action.FlowStateUpdate.PageState.Builder clearPage()

The ID of the page. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>.

string page = 1;

Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

This builder for chaining.

clearStatus()

public Action.FlowStateUpdate.PageState.Builder clearStatus()

The status of the page.

string status = 3;

Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

This builder for chaining.

getDefaultInstanceForType()

public Action.FlowStateUpdate.PageState getDefaultInstanceForType()
Returns
Type Description
Action.FlowStateUpdate.PageState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The display name of the page.

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The display name of the page.

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getPage()

public String getPage()

The ID of the page. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>.

string page = 1;

Returns
Type Description
String

The page.

getPageBytes()

public ByteString getPageBytes()

The ID of the page. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>.

string page = 1;

Returns
Type Description
ByteString

The bytes for page.

getStatus()

public String getStatus()

The status of the page.

string status = 3;

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

The status of the page.

string status = 3;

Returns
Type Description
ByteString

The bytes for status.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Action.FlowStateUpdate.PageState other)

public Action.FlowStateUpdate.PageState.Builder mergeFrom(Action.FlowStateUpdate.PageState other)
Parameter
Name Description
other Action.FlowStateUpdate.PageState
Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Action.FlowStateUpdate.PageState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Action.FlowStateUpdate.PageState.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Action.FlowStateUpdate.PageState.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Action.FlowStateUpdate.PageState.Builder
Overrides

setDisplayName(String value)

public Action.FlowStateUpdate.PageState.Builder setDisplayName(String value)

The display name of the page.

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Action.FlowStateUpdate.PageState.Builder setDisplayNameBytes(ByteString value)

The display name of the page.

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

This builder for chaining.

setPage(String value)

public Action.FlowStateUpdate.PageState.Builder setPage(String value)

The ID of the page. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>.

string page = 1;

Parameter
Name Description
value String

The page to set.

Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

This builder for chaining.

setPageBytes(ByteString value)

public Action.FlowStateUpdate.PageState.Builder setPageBytes(ByteString value)

The ID of the page. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>.

string page = 1;

Parameter
Name Description
value ByteString

The bytes for page to set.

Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

This builder for chaining.

setStatus(String value)

public Action.FlowStateUpdate.PageState.Builder setStatus(String value)

The status of the page.

string status = 3;

Parameter
Name Description
value String

The status to set.

Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public Action.FlowStateUpdate.PageState.Builder setStatusBytes(ByteString value)

The status of the page.

string status = 3;

Parameter
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
Action.FlowStateUpdate.PageState.Builder

This builder for chaining.