/** * <code>optional string pattern = 1;</code> * * <pre> * pattern to match * </pre> */ public Builder setPatternBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; pattern_ = value; onChanged(); return this; }
/** * <code>optional string escape = 2;</code> * * <pre> * escape character (if any) present in the pattern * </pre> */ public Builder setEscapeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; escape_ = value; onChanged(); return this; }
/** * <code>optional string pattern = 1;</code> * * <pre> * pattern to match * </pre> */ public Builder setPattern( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; pattern_ = value; onChanged(); return this; } /**
/** * <code>optional string pattern = 1;</code> * * <pre> * pattern to match * </pre> */ public Builder setPatternBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; pattern_ = value; onChanged(); return this; }
/** * <code>optional string pattern = 1;</code> * * <pre> * pattern to match * </pre> */ public Builder setPattern( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; pattern_ = value; onChanged(); return this; } /**
/** * <code>optional string escape = 2;</code> * * <pre> * escape character (if any) present in the pattern * </pre> */ public Builder setEscape( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; escape_ = value; onChanged(); return this; } /**
/** * <code>optional string escape = 2;</code> * * <pre> * escape character (if any) present in the pattern * </pre> */ public Builder setEscapeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; escape_ = value; onChanged(); return this; }
public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.LikeFilter other) { if (other == org.apache.drill.exec.proto.UserProtos.LikeFilter.getDefaultInstance()) return this; if (other.hasPattern()) { bitField0_ |= 0x00000001; pattern_ = other.pattern_; onChanged(); } if (other.hasEscape()) { bitField0_ |= 0x00000002; escape_ = other.escape_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional string escape = 2;</code> * * <pre> * escape character (if any) present in the pattern * </pre> */ public Builder clearEscape() { bitField0_ = (bitField0_ & ~0x00000002); escape_ = getDefaultInstance().getEscape(); onChanged(); return this; } /**
/** * <code>optional string pattern = 1;</code> * * <pre> * pattern to match * </pre> */ public Builder clearPattern() { bitField0_ = (bitField0_ & ~0x00000001); pattern_ = getDefaultInstance().getPattern(); onChanged(); return this; } /**
/** * <code>optional string escape = 2;</code> * * <pre> * escape character (if any) present in the pattern * </pre> */ public Builder setEscape( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; escape_ = value; onChanged(); return this; } /**
public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.LikeFilter other) { if (other == org.apache.drill.exec.proto.UserProtos.LikeFilter.getDefaultInstance()) return this; if (other.hasPattern()) { bitField0_ |= 0x00000001; pattern_ = other.pattern_; onChanged(); } if (other.hasEscape()) { bitField0_ |= 0x00000002; escape_ = other.escape_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional string pattern = 1;</code> * * <pre> * pattern to match * </pre> */ public Builder clearPattern() { bitField0_ = (bitField0_ & ~0x00000001); pattern_ = getDefaultInstance().getPattern(); onChanged(); return this; } /**
/** * <code>optional string escape = 2;</code> * * <pre> * escape character (if any) present in the pattern * </pre> */ public Builder clearEscape() { bitField0_ = (bitField0_ & ~0x00000002); escape_ = getDefaultInstance().getEscape(); onChanged(); return this; } /**