Class Action.FlowStateUpdate.PageState.Builder (0.89.0)

public static final class Action.FlowStateUpdate.PageState.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Action.FlowStateUpdate.PageState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.FlowStateUpdate.PageState.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Action.FlowStateUpdate.PageState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Action.FlowStateUpdate.PageState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Action.FlowStateUpdate.PageState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Action.FlowStateUpdate.PageState.Builder
Overrides

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Action.FlowStateUpdate.PageState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Action.FlowStateUpdate.PageState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Action.FlowStateUpdate.PageState.Builder
Overrides

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.

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

public Action.FlowStateUpdate.PageState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Action.FlowStateUpdate.PageState.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final Action.FlowStateUpdate.PageState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Action.FlowStateUpdate.PageState.Builder
Overrides