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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
    • getDefaultInstanceForType

      public Action.FlowStateUpdate.PageState getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Action.FlowStateUpdate.PageState buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Action.FlowStateUpdate.PageState.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Action.FlowStateUpdate.PageState.Builder>
      Throws:
      IOException
    • getPage

      public String getPage()
       The ID of the page.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/pages/<PageID>`.
       
      string page = 1;
      Specified by:
      getPage in interface Action.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:
      getPageBytes in interface Action.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

      public Action.FlowStateUpdate.PageState.Builder setPageBytes(com.google.protobuf.ByteString value)
       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

      public String getDisplayName()
       The display name of the page.
       
      string display_name = 2;
      Specified by:
      getDisplayName in interface Action.FlowStateUpdate.PageStateOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       The display name of the page.
       
      string display_name = 2;
      Specified by:
      getDisplayNameBytes in interface Action.FlowStateUpdate.PageStateOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Action.FlowStateUpdate.PageState.Builder setDisplayName(String value)
       The display name of the page.
       
      string display_name = 2;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Action.FlowStateUpdate.PageState.Builder 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

      public String getStatus()
       The status of the page.
       
      string status = 3;
      Specified by:
      getStatus in interface Action.FlowStateUpdate.PageStateOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       The status of the page.
       
      string status = 3;
      Specified by:
      getStatusBytes in interface Action.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.