Class Fulfillment.SetParameterAction.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Fulfillment.SetParameterAction.Builder>
com.google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction.Builder
All Implemented Interfaces:
Fulfillment.SetParameterActionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Fulfillment.SetParameterAction

public static final class Fulfillment.SetParameterAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<Fulfillment.SetParameterAction.Builder> implements Fulfillment.SetParameterActionOrBuilder
 Setting a parameter value.
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.Fulfillment.SetParameterAction
  • 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<Fulfillment.SetParameterAction.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<Fulfillment.SetParameterAction.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<Fulfillment.SetParameterAction.Builder>
    • getDefaultInstanceForType

      public Fulfillment.SetParameterAction 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 Fulfillment.SetParameterAction buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Fulfillment.SetParameterAction.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<Fulfillment.SetParameterAction.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<Fulfillment.SetParameterAction.Builder>
    • mergeFrom

      public Fulfillment.SetParameterAction.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<Fulfillment.SetParameterAction.Builder>
      Throws:
      IOException
    • getParameter

      public String getParameter()
       Display name of the parameter.
       
      string parameter = 1;
      Specified by:
      getParameter in interface Fulfillment.SetParameterActionOrBuilder
      Returns:
      The parameter.
    • getParameterBytes

      public com.google.protobuf.ByteString getParameterBytes()
       Display name of the parameter.
       
      string parameter = 1;
      Specified by:
      getParameterBytes in interface Fulfillment.SetParameterActionOrBuilder
      Returns:
      The bytes for parameter.
    • setParameter

      public Fulfillment.SetParameterAction.Builder setParameter(String value)
       Display name of the parameter.
       
      string parameter = 1;
      Parameters:
      value - The parameter to set.
      Returns:
      This builder for chaining.
    • clearParameter

      public Fulfillment.SetParameterAction.Builder clearParameter()
       Display name of the parameter.
       
      string parameter = 1;
      Returns:
      This builder for chaining.
    • setParameterBytes

      public Fulfillment.SetParameterAction.Builder setParameterBytes(com.google.protobuf.ByteString value)
       Display name of the parameter.
       
      string parameter = 1;
      Parameters:
      value - The bytes for parameter to set.
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
       The new value of the parameter. A null value clears the parameter.
       
      .google.protobuf.Value value = 2;
      Specified by:
      hasValue in interface Fulfillment.SetParameterActionOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public com.google.protobuf.Value getValue()
       The new value of the parameter. A null value clears the parameter.
       
      .google.protobuf.Value value = 2;
      Specified by:
      getValue in interface Fulfillment.SetParameterActionOrBuilder
      Returns:
      The value.
    • setValue

      public Fulfillment.SetParameterAction.Builder setValue(com.google.protobuf.Value value)
       The new value of the parameter. A null value clears the parameter.
       
      .google.protobuf.Value value = 2;
    • setValue

      public Fulfillment.SetParameterAction.Builder setValue(com.google.protobuf.Value.Builder builderForValue)
       The new value of the parameter. A null value clears the parameter.
       
      .google.protobuf.Value value = 2;
    • mergeValue

      public Fulfillment.SetParameterAction.Builder mergeValue(com.google.protobuf.Value value)
       The new value of the parameter. A null value clears the parameter.
       
      .google.protobuf.Value value = 2;
    • clearValue

       The new value of the parameter. A null value clears the parameter.
       
      .google.protobuf.Value value = 2;
    • getValueBuilder

      public com.google.protobuf.Value.Builder getValueBuilder()
       The new value of the parameter. A null value clears the parameter.
       
      .google.protobuf.Value value = 2;
    • getValueOrBuilder

      public com.google.protobuf.ValueOrBuilder getValueOrBuilder()
       The new value of the parameter. A null value clears the parameter.
       
      .google.protobuf.Value value = 2;
      Specified by:
      getValueOrBuilder in interface Fulfillment.SetParameterActionOrBuilder