Class UserProtos.LikeFilter.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder>
org.apache.drill.exec.proto.UserProtos.LikeFilter.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, UserProtos.LikeFilterOrBuilder
Enclosing class:
UserProtos.LikeFilter

public static final class UserProtos.LikeFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder> implements UserProtos.LikeFilterOrBuilder
 Simple filter which encapsulates the SQL LIKE ... ESCAPE function
 
Protobuf type exec.user.LikeFilter
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.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.GeneratedMessageV3.Builder<UserProtos.LikeFilter.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.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder>
    • getDefaultInstanceForType

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

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

      public UserProtos.LikeFilter buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder>
    • setField

      public UserProtos.LikeFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder>
    • clearField

      public UserProtos.LikeFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder>
    • clearOneof

      public UserProtos.LikeFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder>
    • setRepeatedField

      public UserProtos.LikeFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder>
    • addRepeatedField

      public UserProtos.LikeFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder>
    • mergeFrom

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

    • isInitialized

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

      public UserProtos.LikeFilter.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<UserProtos.LikeFilter.Builder>
      Throws:
      IOException
    • hasPattern

      public boolean hasPattern()
       pattern to match
       
      optional string pattern = 1;
      Specified by:
      hasPattern in interface UserProtos.LikeFilterOrBuilder
      Returns:
      Whether the pattern field is set.
    • getPattern

      public String getPattern()
       pattern to match
       
      optional string pattern = 1;
      Specified by:
      getPattern in interface UserProtos.LikeFilterOrBuilder
      Returns:
      The pattern.
    • getPatternBytes

      public com.google.protobuf.ByteString getPatternBytes()
       pattern to match
       
      optional string pattern = 1;
      Specified by:
      getPatternBytes in interface UserProtos.LikeFilterOrBuilder
      Returns:
      The bytes for pattern.
    • setPattern

      public UserProtos.LikeFilter.Builder setPattern(String value)
       pattern to match
       
      optional string pattern = 1;
      Parameters:
      value - The pattern to set.
      Returns:
      This builder for chaining.
    • clearPattern

      public UserProtos.LikeFilter.Builder clearPattern()
       pattern to match
       
      optional string pattern = 1;
      Returns:
      This builder for chaining.
    • setPatternBytes

      public UserProtos.LikeFilter.Builder setPatternBytes(com.google.protobuf.ByteString value)
       pattern to match
       
      optional string pattern = 1;
      Parameters:
      value - The bytes for pattern to set.
      Returns:
      This builder for chaining.
    • hasEscape

      public boolean hasEscape()
       escape character (if any) present in the pattern
       
      optional string escape = 2;
      Specified by:
      hasEscape in interface UserProtos.LikeFilterOrBuilder
      Returns:
      Whether the escape field is set.
    • getEscape

      public String getEscape()
       escape character (if any) present in the pattern
       
      optional string escape = 2;
      Specified by:
      getEscape in interface UserProtos.LikeFilterOrBuilder
      Returns:
      The escape.
    • getEscapeBytes

      public com.google.protobuf.ByteString getEscapeBytes()
       escape character (if any) present in the pattern
       
      optional string escape = 2;
      Specified by:
      getEscapeBytes in interface UserProtos.LikeFilterOrBuilder
      Returns:
      The bytes for escape.
    • setEscape

      public UserProtos.LikeFilter.Builder setEscape(String value)
       escape character (if any) present in the pattern
       
      optional string escape = 2;
      Parameters:
      value - The escape to set.
      Returns:
      This builder for chaining.
    • clearEscape

      public UserProtos.LikeFilter.Builder clearEscape()
       escape character (if any) present in the pattern
       
      optional string escape = 2;
      Returns:
      This builder for chaining.
    • setEscapeBytes

      public UserProtos.LikeFilter.Builder setEscapeBytes(com.google.protobuf.ByteString value)
       escape character (if any) present in the pattern
       
      optional string escape = 2;
      Parameters:
      value - The bytes for escape to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final UserProtos.LikeFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder>
    • mergeUnknownFields

      public final UserProtos.LikeFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.LikeFilter.Builder>