Class CesAppSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CesAppSpec.Builder>
com.google.cloud.dialogflow.v2.CesAppSpec.Builder
All Implemented Interfaces:
CesAppSpecOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CesAppSpec

public static final class CesAppSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<CesAppSpec.Builder> implements CesAppSpecOrBuilder
 Spec of CES app that the generator can choose from.
 
Protobuf type google.cloud.dialogflow.v2.CesAppSpec
  • 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<CesAppSpec.Builder>
    • clear

      public CesAppSpec.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<CesAppSpec.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<CesAppSpec.Builder>
    • getDefaultInstanceForType

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

      public CesAppSpec build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public CesAppSpec.Builder mergeFrom(CesAppSpec other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CesAppSpec.Builder>
    • mergeFrom

      public CesAppSpec.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<CesAppSpec.Builder>
      Throws:
      IOException
    • getCesApp

      public String getCesApp()
       Optional. Format: `projects/<Project ID>/locations/<Location ID>/apps/<app
       ID>`.
       
      string ces_app = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getCesApp in interface CesAppSpecOrBuilder
      Returns:
      The cesApp.
    • getCesAppBytes

      public com.google.protobuf.ByteString getCesAppBytes()
       Optional. Format: `projects/<Project ID>/locations/<Location ID>/apps/<app
       ID>`.
       
      string ces_app = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getCesAppBytes in interface CesAppSpecOrBuilder
      Returns:
      The bytes for cesApp.
    • setCesApp

      public CesAppSpec.Builder setCesApp(String value)
       Optional. Format: `projects/<Project ID>/locations/<Location ID>/apps/<app
       ID>`.
       
      string ces_app = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The cesApp to set.
      Returns:
      This builder for chaining.
    • clearCesApp

      public CesAppSpec.Builder clearCesApp()
       Optional. Format: `projects/<Project ID>/locations/<Location ID>/apps/<app
       ID>`.
       
      string ces_app = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCesAppBytes

      public CesAppSpec.Builder setCesAppBytes(com.google.protobuf.ByteString value)
       Optional. Format: `projects/<Project ID>/locations/<Location ID>/apps/<app
       ID>`.
       
      string ces_app = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for cesApp to set.
      Returns:
      This builder for chaining.
    • getConfirmationRequirementValue

      public int getConfirmationRequirementValue()
       Optional. Indicates whether the app requires human confirmation.
       
      .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement confirmation_requirement = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfirmationRequirementValue in interface CesAppSpecOrBuilder
      Returns:
      The enum numeric value on the wire for confirmationRequirement.
    • setConfirmationRequirementValue

      public CesAppSpec.Builder setConfirmationRequirementValue(int value)
       Optional. Indicates whether the app requires human confirmation.
       
      .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement confirmation_requirement = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for confirmationRequirement to set.
      Returns:
      This builder for chaining.
    • getConfirmationRequirement

      public Tool.ConfirmationRequirement getConfirmationRequirement()
       Optional. Indicates whether the app requires human confirmation.
       
      .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement confirmation_requirement = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConfirmationRequirement in interface CesAppSpecOrBuilder
      Returns:
      The confirmationRequirement.
    • setConfirmationRequirement

      public CesAppSpec.Builder setConfirmationRequirement(Tool.ConfirmationRequirement value)
       Optional. Indicates whether the app requires human confirmation.
       
      .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement confirmation_requirement = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The confirmationRequirement to set.
      Returns:
      This builder for chaining.
    • clearConfirmationRequirement

      public CesAppSpec.Builder clearConfirmationRequirement()
       Optional. Indicates whether the app requires human confirmation.
       
      .google.cloud.dialogflow.v2.Tool.ConfirmationRequirement confirmation_requirement = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.