/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder setMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.set(index, builderForValue.build()); onChanged(); } else { methodBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(index, builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder setMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.set(index, builderForValue.build()); onChanged(); } else { methodBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(index, builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder setMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.set(index, builderForValue.build()); onChanged(); } else { methodBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(builderForValue.build()); } return this; } /**
public Method build() { return new Method(methodBuilder.build()); }
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder setMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.set(index, builderForValue.build()); onChanged(); } else { methodBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(index, builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(index, builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ private void addMethod( com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { ensureMethodIsMutable(); method_.add(builderForValue.build()); } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ private void setMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { ensureMethodIsMutable(); method_.set(index, builderForValue.build()); } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ private void addMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { ensureMethodIsMutable(); method_.add(index, builderForValue.build()); } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder setMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.set(index, builderForValue.build()); onChanged(); } else { methodBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .google.protobuf.MethodDescriptorProto method = 2;</code> */ public Builder addMethod( int index, com.google.protobuf.DescriptorProtos.MethodDescriptorProto.Builder builderForValue) { if (methodBuilder_ == null) { ensureMethodIsMutable(); method_.add(index, builderForValue.build()); onChanged(); } else { methodBuilder_.addMessage(index, builderForValue.build()); } return this; } /**