public GrpcServiceBuilder supportedSerializationFormats(Iterable<SerializationFormat> formats) {
        requireNonNull(formats, "formats");
        for (SerializationFormat format : formats) {
            if (!GrpcSerializationFormats.isGrpc(format)) {
                throw new IllegalArgumentException("Not a gRPC serialization format: " + format);
            }
        }
        supportedSerializationFormats = ImmutableSet.copyOf(formats);
        return this;
    }
Sets the {@link SerializationFormat}s supported by this server. If not set, defaults to support
all {@link GrpcSerializationFormats#values()}.
grpc/src/main/java/com/linecorp/armeria/server/grpc/GrpcServiceBuilder.java