Class EnrollSolutionResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EnrollSolutionResponse.Builder>
com.google.cloud.retail.v2alpha.EnrollSolutionResponse.Builder
All Implemented Interfaces:
EnrollSolutionResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EnrollSolutionResponse

public static final class EnrollSolutionResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<EnrollSolutionResponse.Builder> implements EnrollSolutionResponseOrBuilder
 Response for EnrollSolution method.
 
Protobuf type google.cloud.retail.v2alpha.EnrollSolutionResponse
  • 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<EnrollSolutionResponse.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<EnrollSolutionResponse.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<EnrollSolutionResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public EnrollSolutionResponse.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<EnrollSolutionResponse.Builder>
      Throws:
      IOException
    • getEnrolledSolutionValue

      public int getEnrolledSolutionValue()
       Retail API solution that the project has enrolled.
       
      .google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;
      Specified by:
      getEnrolledSolutionValue in interface EnrollSolutionResponseOrBuilder
      Returns:
      The enum numeric value on the wire for enrolledSolution.
    • setEnrolledSolutionValue

      public EnrollSolutionResponse.Builder setEnrolledSolutionValue(int value)
       Retail API solution that the project has enrolled.
       
      .google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;
      Parameters:
      value - The enum numeric value on the wire for enrolledSolution to set.
      Returns:
      This builder for chaining.
    • getEnrolledSolution

      public SolutionType getEnrolledSolution()
       Retail API solution that the project has enrolled.
       
      .google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;
      Specified by:
      getEnrolledSolution in interface EnrollSolutionResponseOrBuilder
      Returns:
      The enrolledSolution.
    • setEnrolledSolution

      public EnrollSolutionResponse.Builder setEnrolledSolution(SolutionType value)
       Retail API solution that the project has enrolled.
       
      .google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;
      Parameters:
      value - The enrolledSolution to set.
      Returns:
      This builder for chaining.
    • clearEnrolledSolution

      public EnrollSolutionResponse.Builder clearEnrolledSolution()
       Retail API solution that the project has enrolled.
       
      .google.cloud.retail.v2alpha.SolutionType enrolled_solution = 1;
      Returns:
      This builder for chaining.