/** * <code>optional string name = 1;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; }
/** * <code>optional string output_type = 3;</code> */ public Builder setOutputTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; outputType_ = value; onChanged(); return this; }
/** * <code>optional string output_type = 3;</code> */ public Builder setOutputTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; outputType_ = value; onChanged(); return this; }
/** * <code>optional .google.protobuf.MethodOptions options = 4;</code> */ public Builder clearOptions() { if (optionsBuilder_ == null) { options_ = null; onChanged(); } else { optionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /**
/** * <code>optional string output_type = 3;</code> */ public Builder setOutputType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; outputType_ = value; onChanged(); return this; } /**
/** * <pre> * Identifies if server streams multiple server messages * </pre> * * <code>optional bool server_streaming = 6 [default = false];</code> */ public Builder clearServerStreaming() { bitField0_ = (bitField0_ & ~0x00000020); serverStreaming_ = false; onChanged(); return this; } @java.lang.Override
/** * <pre> * Identifies if server streams multiple server messages * </pre> * * <code>optional bool server_streaming = 6 [default = false];</code> */ public Builder setServerStreaming(boolean value) { bitField0_ |= 0x00000020; serverStreaming_ = value; onChanged(); return this; } /**
/** * <code>optional string name = 1;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /**
/** * <pre> * Identifies if client streams multiple client messages * </pre> * * <code>optional bool client_streaming = 5 [default = false];</code> */ public Builder setClientStreaming(boolean value) { bitField0_ |= 0x00000010; clientStreaming_ = value; onChanged(); return this; } /**
/** * <code>optional .google.protobuf.MethodOptions options = 4;</code> */ public Builder clearOptions() { if (optionsBuilder_ == null) { options_ = com.google.protobuf.DescriptorProtos.MethodOptions.getDefaultInstance(); onChanged(); } else { optionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /**
/** * <code>optional string output_type = 3;</code> */ public Builder setOutputType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; outputType_ = value; onChanged(); return this; } /**
/** * <code>optional string name = 1;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /**
/** * <code>optional string name = 1;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; }
/** * <pre> * Identifies if client streams multiple client messages * </pre> * * <code>optional bool client_streaming = 5 [default = false];</code> */ public Builder clearClientStreaming() { bitField0_ = (bitField0_ & ~0x00000010); clientStreaming_ = false; onChanged(); return this; }
/** * <code>optional .google.protobuf.MethodOptions options = 4;</code> */ public com.google.protobuf.DescriptorProtos.MethodOptions.Builder getOptionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getOptionsFieldBuilder().getBuilder(); } /**
/** * <code>optional string name = 1;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>optional string output_type = 3;</code> */ public Builder clearOutputType() { bitField0_ = (bitField0_ & ~0x00000004); outputType_ = getDefaultInstance().getOutputType(); onChanged(); return this; } /**
/** * <code>optional string output_type = 3;</code> */ public Builder clearOutputType() { bitField0_ = (bitField0_ & ~0x00000004); outputType_ = getDefaultInstance().getOutputType(); onChanged(); return this; } /**
/** * <code>optional .google.protobuf.MethodOptions options = 4;</code> */ public com.google.protobuf.DescriptorProtos.MethodOptions.Builder getOptionsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getOptionsFieldBuilder().getBuilder(); } /**
/** * <code>optional string name = 1;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**