Class Action.FlowStateUpdate.PageState.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Action.FlowStateUpdate.PageState.Builder
- All Implemented Interfaces:
Action.FlowStateUpdate.PageStateOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Action.FlowStateUpdate.PageState
public static final class Action.FlowStateUpdate.PageState.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The display name of the page.The ID of the page.The status of the page.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe display name of the page.com.google.protobuf.ByteStringThe display name of the page.getPage()The ID of the page.com.google.protobuf.ByteStringThe ID of the page.The status of the page.com.google.protobuf.ByteStringThe status of the page.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDisplayName(String value) The display name of the page.setDisplayNameBytes(com.google.protobuf.ByteString value) The display name of the page.The ID of the page.setPageBytes(com.google.protobuf.ByteString value) The ID of the page.The status of the page.setStatusBytes(com.google.protobuf.ByteString value) The status of the page.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
-
mergeFrom
public Action.FlowStateUpdate.PageState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Action.FlowStateUpdate.PageState.Builder>- Throws:
IOException
-
getPage
The ID of the page. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
string page = 1;- Specified by:
getPagein interfaceAction.FlowStateUpdate.PageStateOrBuilder- Returns:
- The page.
-
getPageBytes
public com.google.protobuf.ByteString getPageBytes()The ID of the page. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
string page = 1;- Specified by:
getPageBytesin interfaceAction.FlowStateUpdate.PageStateOrBuilder- Returns:
- The bytes for page.
-
setPage
The ID of the page. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
string page = 1;- Parameters:
value- The page to set.- Returns:
- This builder for chaining.
-
clearPage
The ID of the page. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
string page = 1;- Returns:
- This builder for chaining.
-
setPageBytes
The ID of the page. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
string page = 1;- Parameters:
value- The bytes for page to set.- Returns:
- This builder for chaining.
-
getDisplayName
The display name of the page.
string display_name = 2;- Specified by:
getDisplayNamein interfaceAction.FlowStateUpdate.PageStateOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The display name of the page.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceAction.FlowStateUpdate.PageStateOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The display name of the page.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The display name of the page.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Action.FlowStateUpdate.PageState.Builder setDisplayNameBytes(com.google.protobuf.ByteString value) The display name of the page.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getStatus
The status of the page.
string status = 3;- Specified by:
getStatusin interfaceAction.FlowStateUpdate.PageStateOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()The status of the page.
string status = 3;- Specified by:
getStatusBytesin interfaceAction.FlowStateUpdate.PageStateOrBuilder- Returns:
- The bytes for status.
-
setStatus
The status of the page.
string status = 3;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
The status of the page.
string status = 3;- Returns:
- This builder for chaining.
-
setStatusBytes
public Action.FlowStateUpdate.PageState.Builder setStatusBytes(com.google.protobuf.ByteString value) The status of the page.
string status = 3;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-